?
Solved

IIS LocalHost name change

Posted on 2006-10-31
6
Medium Priority
?
1,691 Views
Last Modified: 2008-03-06
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?
0
Comment
Question by:TechMonster
[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
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
FixingStuff earned 1600 total points
ID: 17845714
This is a DNS issue.  
Let's assume your server has IP addr 192.168.10.10

You can put a static host entry in your DNS server with the name wfm pointing to 192.168.10.10, 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:
192.168.10.10     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.
FS-
0
 

Author Comment

by:TechMonster
ID: 17846155
My computer IP is 10.186.4.74...have modified the file to show
10.186.4.74  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.
0
 
LVL 10

Expert Comment

by:harperse
ID: 17851208
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,
harperse
0
Industry Leaders: 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!

 
LVL 9

Expert Comment

by:FixingStuff
ID: 17852358
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 10.186.4.74 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 10.186.4.74.
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?
FS-
0
 
LVL 9

Expert Comment

by:FixingStuff
ID: 17852388
'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.
FS-
0
 

Author Comment

by:TechMonster
ID: 18056491
Thnks for the feedback everyone...
0

Featured Post

Industry Leaders: 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

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

777 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