In your first reply you said that my DNS server must also point to a different IP address on my web server, that means that I will need a different IP address. I am not sure what exactly did you mean by having a host header for hosting different web site.
Yes u can.. u can host many websites (assuming u're running win2k server or advanced) with just one IP using host headers. I remember replying to many questions like this but I found a site that would save me the writing so here it is:
does this domain name xyz be registered with any static IP address. Or just be a registered domain name without any IP address. I am bit confused in this issue. Help Please.
Nono... all domain names need to have an ip associated with it (or else the dns servers wouldn't know how to forward requests ) So what you do is have the
then use IIS to direct the traffic to the appropriate site. Think of host headers as the point where they look @ the train's name.. then either direct it to the east or west station. They both share the same route (the IP).
A when you buy/register a domain name you are required to point it at 2 DNS server addresses, Primary & Secondary.
These Domain Name Servers (DNS) tell the clients where to look for the IP adress of the server that hosts your domain{s}, This can be either one to many, many to many or many to one.
One to many = one domain pointing to many web servers "IP addresses" all hosting the same web pages, (usually called Round Robin DNS).
Many to many = a number of domain names pointing to a number of webservers.
Or What you were looking for:
Many to One = A number of domain names {2 in your case} pointing to one web server that has "virtual hosting of the two sites".
What then happens is as the client browser makes a request to
"resolves" to 123.456.789.1 and the browser then passes the request for a web page to that address. Now! in the information passed by the clients browser "header information" is a value that contains the domain name
the Web server at 123.456.789.1 sees this and says "I know where to send this" its one of my virtual servers who's root folder is \\share1\fredb\
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.