LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   adding 2nd domain or website (http://www.linuxquestions.org/questions/linux-networking-3/adding-2nd-domain-or-website-149757/)

spooge 02-23-2004 09:15 PM

adding 2nd domain or website
 
can't seem to find an answer...

I have a server up and running fine. web, and mail services run just fine.
Thanks to LQ

I purchaced a second domain, and would like to host it on the same machine
(until i get a 2nd box ready).
I was able to get virtual hosts up for domain1.com. So I have no problem that( i think)

My questions are:

With 2nd domain, Do I need to setup more zone files in my named.conf?
If so, i would have to create zone files, and reverse zone also?

I have tried the above. I added a new zone to named.conf
CODE]
zone "domain2.com"{
type master;
notify no;
file "domain2/domain2.com
}'
[/code

and then copied the domain1 zone files and edited it to domain2.com

this worked localy from lan, but after 2 days nothing from outside.

Not really sure where to start with this.
thanks

spooge 02-26-2004 09:59 AM

.
edit:
well i added a PTR to my in-addr.arpa.zone file
for the new domain

got a b- @ dnsstuf.com


All times are GMT -5. The time now is 04:14 PM.