Solved

IIS LocalHost name change

Posted on 2006-10-31
6
1,678 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
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
FixingStuff earned 400 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

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.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

815 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

11 Experts available now in Live!

Get 1:1 Help Now