Link to home
Start Free TrialLog in
Avatar of dmoss123
dmoss123Flag for United States of America

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.




ASKER CERTIFIED SOLUTION
Avatar of meverest
meverest
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial