MultiMedia-Producer.biz How To Pages
Host Multiple Domains on One Web Server
The following assumes that:
you own the domain name "domain.com"
this domain name should already be pointing to the Internet IP address of an
existing web server
this web server has multiple web sites on it already
Windows IIS:
open Administrative Tools
open Internet Services Manager
open the server
highlight the web site name
right click
Properties
next to IP Address is an "Advanced..." button, click it
under the "Multiple identities for this Web Site" is an Add button, click it
you usually do not need to mess with IP Address line
you usually do not need to mess with Port
make Host Header Name look like "www.domain.com" (assuming
you bought this Internet domain name),
using "domain.com" does not seem to work on this line
return back to the main Internet Services Manager screen
highlight the server name
right click
Restart IIS...
Apache:
I believe you need to research the term "virtual hosting"
Why Does This Work?
When you open your browser on your client and put in http://www.domain.com, the browser asks it local DNS server for the IP address of www.domain.com. If the local DNS server does not know it asks other DNS servers for the IP address. When a DNS server can answer the IP address question, this information will be passed back to the client. When the client receives the IP address then the request "http://www.domain.com" is sent to the IP address. The web server will look at the request, see the "www.domain.com" part and show you the appropriate web site from the many web sites that may be on that web server.
If the requested web site is not running then the IIS server will show its default web site.
E-mail us for details.
info@MultiMedia-Producer.biz