Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting UseHostName broke links in our web application

Posted on 2009-03-30
1
Medium Priority
?
618 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 2000 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 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