Solved

Setting UseHostName broke links in our web application

Posted on 2009-03-30
1
608 Views
Last Modified: 2013-11-05
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.




0
Comment
Question by:dmoss123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 37

Accepted Solution

by:
meverest earned 500 total points
ID: 24027005
Hello,

setHostName and UseHostName only affects the way that IIS responds to certain formed http requests.  There should not be any affect on your web applications.

If it has caused a change in the way that your web application behaves, then it must have something to do with that web application.  Is that something written internally, or by a third party?  In any case, it would be wise to contact the developer and find out why it is doing that - it should not!

Cheers.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question