Hello,
I am currently running BIND 9.2.2 and am trying to setup a virtual host. I already own and run domain1.com and it is fine. I want to host a website for my friend who has purchased domain2.com. I have setup Apache with name-based virtual hosts to accomodate this, but I am not sure how to setup DNS for name-based virtual hosting. In my named.conf file i have an entry for domain2.com and declared it as type "master". Do I edit the zone file for domain1.com and enter domain2.com info there or do I make a whole new zone file for domain2.com? ANy help would be appreciated.
Thanks.
I am currently running BIND 9.2.2 and am trying to setup a virtual host. I already own and run domain1.com and it is fine. I want to host a website for my friend who has purchased domain2.com. I have setup Apache with name-based virtual hosts to accomodate this, but I am not sure how to setup DNS for name-based virtual hosting. In my named.conf file i have an entry for domain2.com and declared it as type "master". Do I edit the zone file for domain1.com and enter domain2.com info there or do I make a whole new zone file for domain2.com? ANy help would be appreciated.
Thanks.