By default, the TP-installed directory is under the Targetprocess2 of the default Web site (IIS), but if you want to use tp.targetprocess.cn for direct access, you need to make some settings.
The basic points are as follows:
1. Create a new Web site also bound to 80 ports, with different domain names
http:*:80:tp.targetprocess.cn
2. Note that the directory is pointing to directory Targetprocess2/wwwroot-targetprocess application pool with application pools
3. Convert the JavaScript under it to application while using the application pool targetprocess static pool
4. Start-Up
5. Remove the Targetprocess2 app from the original default website
6. Change the website address inside the setting.
Because some TP has been used for some time, so the attachment points to the address is not the new address, so that the picture can not be accessed and so on.
A text is placed inside the comment, so you need to use SQL update manually
Update TargetProcess.dbo.Comment
Set Description = REPLACE (Description, ' 120.25.xxx.xxx/targetprocess2 ', ' tp.targetprocess.cn ') where Description like ' %120.25.xxx.xxx/targetprocess2% '
One is in the story, etc. (data sheet equivalent to general)
Update targetprocess.dbo. [General]
Set Description = REPLACE (Description, ' 120.25.xxx.xxx/targetprocess2 ', ' tp.targetprocess.cn ') where Description like ' %120.25.xxx.xxx/targetprocess2% '
That's all you can do.
Change the domain name in targetprocess to modify the attachment address inside