954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

iis on 2003

--------------------------------------------------------------------------------

I'm making a internal website for my company that will run a program and preform an inventory of that computer. i have it all set up with the iis and its up and running if you type in the its location, now what i'm wondering is this, is there a way to have it setup so that when i type something like Inventory in the browser will that work. pretty much i just want a way were i don't have to type in the location.

JohnnyMonk
Newbie Poster
13 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 

Do you have an internal DNS server?

I know of a lot of companies do something similar to this. You could set up a virtual host on the IIS server (i'm not sure how to do this, so I'm speaking vaguely), and point an IP/hostname combo to it. So, you could have an "Inventory" hostname resolve to the virtual host's IP address, make the virtual host's index.html (or whatever your index file is) actually point to the page containing your inventory.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

The easiest thing to do is modify each of the client machines host file, adding an entry to the server's ip address to whatever name you want.

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 
The easiest thing to do is modify each of the client machines host file, adding an entry to the server's ip address to whatever name you want.


how, what, where, when. ok leave out the last one.

william_stam
Junior Poster
131 posts since Mar 2005
Reputation Points: 10
Solved Threads: 2
 
The easiest thing to do is modify each of the client machines host file, adding an entry to the server's ip address to whatever name you want.



If you add the name to the company's dns server you don't have to do anything on each machine.

winbatch
Posting Pro in Training
466 posts since Feb 2005
Reputation Points: 68
Solved Threads: 18
 
The easiest thing to do is modify each of the client machines host file, adding an entry to the server's ip address to whatever name you want.

unless you have 500 workstations... :lol:

Seriously though, do what the other guy said and use DNS. If you really want to edit the hosts file on every machine its in:
%systemroot%\system32\drivers\etc\hosts

sypher
Light Poster
29 posts since May 2005
Reputation Points: 13
Solved Threads: 0
 

Hello,

You GOTTA be kidding to edit the hosts files on all the machines. NO! By doing that, you loose all flexibility of managing the name if it should change down the road. Unless there would be a way to do it via group policy, don't even try to do that.

DNS is the way to go with this project.

Christian

kc0arf
Posting Virtuoso
Team Colleague
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
 

Well, if you have WINS running on your network, you could also add a WINS alias and use host headers in IIS.

I use this regulary to publish short & simple, non-FQDN names for intranet sites, such as http://techhelp or http://benefits, and keep them all on the same server/IP address, without havig to resort to sub-directories.

Though you do have to have WINS set-up, its the same idea as DNS, you just dont need to worry about configuring DNS or having your domain suffixes set up correctly. However, it does only work in Windows environments, and you can only host more than one web server per IP address only on Server editions of Windows.

Elohir
Newbie Poster
20 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

I'm just curious, what exactly is the point of that host file? I was checking out mine and the only ip listed is the loopback, but theres a huge list of domain names there. What's it for?

Justin01
Junior Poster in Training
77 posts since Aug 2005
Reputation Points: 11
Solved Threads: 2
 
I'm just curious, what exactly is the point of that host file? I was checking out mine and the only ip listed is the loopback, but theres a huge list of domain names there. What's it for?

Operating systems use the local host file to resolve host names to ip addresses.

sypher
Light Poster
29 posts since May 2005
Reputation Points: 13
Solved Threads: 0
 

Ah. So say I'm running a webserver on my machine and I want other computers on my lan to access it I would just create an entry with a name and next to it the ip of the machine running the web server?

For example, if my web server is say 192.168.1.3 the entry would look something like the following?

192.168.1.3 //webserver

?

Justin01
Junior Poster in Training
77 posts since Aug 2005
Reputation Points: 11
Solved Threads: 2
 

Ah. So say I'm running a webserver on my machine and I want other computers on my lan to access it I would just create an entry with a name and next to it the ip of the machine running the web server?

For example, if my web server is say 192.168.1.3 the entry would look something like the following?

192.168.1.3 //webserver

?

No, the hosts file is only for the local machine that it resides on. To allow machines on your network to access your webserver by name use DNS.

sypher
Light Poster
29 posts since May 2005
Reputation Points: 13
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You