I want to setup multiple websites (name based virtual hosting) with one IP on my server:
Server Configuration
OS: Windows SBS 2003 SP2
Web Server: IIS 6.0
It is a Domain Controller
It has one public IP
1.
Get the DNS Server registered and then this can be set as DNS server of
the domain names. Can it be the webserver machine itself?
2. Create a Forward lookup DNS zone xyz.com
a) Create an A record (Same as parent), so it will be pointing to xyz.com
b) Create an Alias (CNAME) www
3. Register a domain xyz.com through a service provider and NS point to the server's IP or FQDN.
4. Create a website with host header value i.e. xyz.com
Question 1. Please tell me if this is the way I can host websites on my own server?
Question
2. If first and second steps are missing and in my network connection
settings, I specify x.x.x.x my Primary and only DNS server (on my
workstation, a windows XP machine), will it work? Assume no firewall
installed, nothing is blocked at present.
At present the name resolution is not working from a remote machine, on the server itself, it works fine