LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-23-2004, 09:15 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
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
 
Old 02-26-2004, 09:59 AM   #2
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

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

got a b- @ dnsstuf.com

Last edited by spooge; 02-26-2004 at 06:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding 2nd mouse to SuSE 9.0 pjbgravely Linux - Distributions 2 07-05-2004 01:45 AM
Adding a 2nd harddrive for backups, how do I do this lexington Linux - Newbie 2 05-03-2004 11:25 PM
Adding a 2nd domain to Bind 9.2.2 on Linux bkesting Linux - Networking 3 04-05-2004 03:51 PM
Adding 2nd Linux to LILO froedi Linux - Newbie 11 12-31-2003 06:34 AM
Adding a 2nd CPU to RH7.3 jyusko Linux - Hardware 4 06-22-2002 12:10 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration