Solved

Setting UseHostName broke links in our web application

Posted on 2009-03-30
1
564 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
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…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now