IIS LocalHost name change

Is there anyway to change the "LocalHost" to a more defined name on a IIS Intranet server?
So instead on http:\localhost\wfm can I change it to http:\\wfm?
Who is Participating?
Dean ChafeeConnect With a Mentor IT/InfoSec ManagerCommented:
This is a DNS issue.  
Let's assume your server has IP addr

You can put a static host entry in your DNS server with the name wfm pointing to, but it will be a host within the zone that you create it in... example http://wfm.mydomain.com

You can also put a static entry in your HOSTS file (c:\winnt\system32\drivers\etc\hosts) like this:     wfm

The hosts file will let you use http://wfm      however, only from the local machine, which is what I assume you are looking for.
TechMonsterAuthor Commented:
My computer IP is modified the file to show  wfm.

Still fails..
Need everyone on the Intranet to be able to type http:\\wfm  to get page.

Works great with Localhost..or with my ip......DNS..don't have one...THe IIS machine is not actually on the NET.  
Creating some sort of virtual webpage.
Changing the HOSTS file won't replicate the change to other machines.  You will have to go the DNS route prescribed above.

Best of luck,
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Dean ChafeeIT/InfoSec ManagerCommented:
The only way for all on your intranet to use http://wfm is to deploy a DNS server and create a host entry (A record) called wfm with the IP of in your default/primary zone.   Then, assuming your clients are configured to "Append primary DNS suffixes", a request to http://wfm will resolve to wfm.yourdomain.com at
Hope this makes sense...

If you are on an older network using WINS, I think it is possible to create a static entry in WINS pointing to the IP. So the question is, if you don't have and intranet DNS, how are your intranet machine names resolved to an IP?
Dean ChafeeIT/InfoSec ManagerCommented:
'nother possible solution...
you can add the same entry in the HOSTS file on every user machine, but this is a management nightmare if your have more than a few client machines.
TechMonsterAuthor Commented:
Thnks for the feedback everyone...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.