Virtual-based hosting brought to you by the Apache Software Foundation! Of course, other web servers also have the virtual-based hosting feature. With virtual-based hosting, you can host basically unlimited domains under one IP address. Most control panels will add a virtual-host for you automatically when you create a new domain, unless of course you wish to host that domain on a static IP address.
"How do I set the cruise on a '99 Chevy Silverado 1500 pickup?"
"I dunno - but the Ford F150 has had cruise for years!"
(I'm assuming you've used ISM before and know where it is, etc. Otherwise just ask...)
[list=1][*] Open Internet Services Manager[*] Right-click --> Properties on the Web Site[*] Under the "Web Site" Tab, next to "IP Address" box, click "Advanced"[*] Either "Add" or double-click the existing IP assignment[*] Enter the domain name into "Host Header Name". This is where the magic is.[*] Click "OK", etc... to get back to the main ISM screen[*] Test it![/list=1]
DNS has to be set up already of course, just assign multiple domains to the same IP. Also, don't forget to add "domain.com" AND "www.domain.com" to both DNS and IIS if you want. If IIS doesn't match any of the Host Headers the one with no host header will probably be used.
Originally posted by spider-web How do you host multiple sites with 1 ip and have IIS choose what site they will see??
if someone goes to www.subway.com and i was hosting that domain and i also host www.nike.com how will it automatically go to the right site??
Setting up a webpage on a server can be done in two ways.
1) IP based hosting.
Great if you have needs of an IP address (for SSL sites, etc)
2) NAME BASED hosting.
YOU WANT THIS!!!
In IIS just run the wizard to add a new web page.
Either leave the IP to the one have have for the server, or leave it set to default and then enter in the HOST HEADER the name(s) of the website. (like "WWW.NIKE.COM" "NIKE.COM" "WWW.RUBBERCHICKEN.COM" etc)
There you go!
(Name Based hosting is preferred anyways, since it cuts down on the use of IP addresses needed.)
(All this is listed in the HELP files on Win2k, as well as on the Microshaft website)