Solved

Setting UseHostName broke links in our web application

Posted on 2009-03-30
1
597 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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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