Configuring DNS to host websites of 2 domain

March 11, 2011 at 04:22:28
Specs: Windows 2003
I would like to host 2 websites of different domains in one server

Example-

www.abc.com
www.def.com

What should i do with DNS

my server is s1.abc.com
I had created www cname for s1 and www.abc.com is working fine

now i want to host website with another domain i.e www.def.com
how can i point s1.abc.com to www.def.com


See More: Configuring DNS to host websites of 2 domain

Report •

#1
March 11, 2011 at 04:47:49
Create a new zone for def.com. In that new zone create a CNAME record for www pointing to www.def.com.

Report •

#2
March 11, 2011 at 21:06:22
Thanks a lot

Is this the way- commercial Web Server is maintained


Report •

#3
March 12, 2011 at 01:27:55
That is the way that commercial web servers are maintained. At least that's how I did it on a site hosting about 20 domains.

One thing that I should have added - whoever your domains are registered with will need to point to your server as the authoritative DNS server for those domains.


Report •

Related Solutions

#4
March 12, 2011 at 03:13:24
Thanks

You have cleared lot of doubts


Report •

Ask Question