Reply

Join Date: May 2004
Posts: 13
Reputation: JohnnyMonk is an unknown quantity at this point 
Solved Threads: 0
JohnnyMonk's Avatar
JohnnyMonk JohnnyMonk is offline Offline
Newbie Poster

iis on 2003

 
0
  #1
Jun 2nd, 2004
--------------------------------------------------------------------------------

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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: iis on 2003

 
0
  #2
Jun 23rd, 2004
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.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: iis on 2003

 
0
  #3
Jun 26th, 2004
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.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 131
Reputation: william_stam is an unknown quantity at this point 
Solved Threads: 2
william_stam's Avatar
william_stam william_stam is offline Offline
Junior Poster

Re: iis on 2003

 
0
  #4
Apr 26th, 2005
Originally Posted by Tekmaven™
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 466
Reputation: winbatch is on a distinguished road 
Solved Threads: 18
winbatch's Avatar
winbatch winbatch is offline Offline
Posting Pro in Training

Re: iis on 2003

 
0
  #5
Jun 4th, 2005
Originally Posted by Tekmaven™
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.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 29
Reputation: sypher is an unknown quantity at this point 
Solved Threads: 0
sypher's Avatar
sypher sypher is offline Offline
Light Poster

Re: iis on 2003

 
0
  #6
Aug 9th, 2005
Originally Posted by Tekmaven™
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 50
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: iis on 2003

 
0
  #7
Aug 10th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 20
Reputation: Elohir is an unknown quantity at this point 
Solved Threads: 0
Elohir's Avatar
Elohir Elohir is offline Offline
Newbie Poster

Re: iis on 2003

 
0
  #8
Aug 27th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 77
Reputation: Justin01 is an unknown quantity at this point 
Solved Threads: 1
Justin01 Justin01 is offline Offline
Junior Poster in Training

Re: iis on 2003

 
0
  #9
Aug 29th, 2005
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?
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 29
Reputation: sypher is an unknown quantity at this point 
Solved Threads: 0
sypher's Avatar
sypher sypher is offline Offline
Light Poster

Re: iis on 2003

 
0
  #10
Aug 29th, 2005
Originally Posted by Justin01
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows Servers and IIS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC