dmoss123
asked on
Setting UseHostName broke links in our web application
We have a web application that generated the following link prior to running UseHostName:
http://www.mycompanysite.org/Biography.aspx?ID=1
After running UsetHostName the links changed to:
http://[server name].[domain name]/Biography.aspx?ID=1
I thinks this can be fixed by using SetHostName instead of UseHostName. Can somebody tell me if this should work?
cscript adsutil.vbs set w3svc/x/SetHostName www.mysite.org
I'm not sure if www.mysite.org will be considered a valid HostName by the adsutil.
http://www.mycompanysite.org/Biography.aspx?ID=1
After running UsetHostName the links changed to:
http://[server name].[domain name]/Biography.aspx?ID=1
I thinks this can be fixed by using SetHostName instead of UseHostName. Can somebody tell me if this should work?
cscript adsutil.vbs set w3svc/x/SetHostName www.mysite.org
I'm not sure if www.mysite.org will be considered a valid HostName by the adsutil.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.