LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2011, 05:19 AM   #1
shanekelly
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
Confusion over nameservers


Hi Everyone,

I'm new to this forum, virtual servers and linux so please forgive any mistakes.

I want to host 5 websites on my new virtual server so I have created 2 nameservers that point to my virtual server's IP addresses as a glue record. What confuses me is when I create a new domain on my server it gives the new domain it's own nameservers (ns1.thenewdomain.co.uk etc) do I need to change these records so they use the nameservers I created earlier? If I do? Which particular records should I change?

Any help greatly appreciated. I'm running a Unix virtual server with a Plesk control panel.

Many thanks
 
Old 06-04-2011, 06:41 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
The host server should have its own domain name. You have to apply to your domain name provider to create the nameservers using that domain name.

All subsequent domains you wish to have use those nameservers should be registered using those nameservers at the domain registrar.

Plesk should have a panel that allows the definition of the nameservers for the entire host, use your registered nameservers there. Each additional site you create should then use the defaults.
Individual sites do not need a nameserver entry, only the hosting site for the whole box needs those entries.

You should restart bind after each modification, but plesk should do that for you.

Essentially you should end up with bind entries for each domain that fit the following pattern :
Code:
domain1.com         A     your.ip.address.here
www.domain1.com   CNAME   domain1.com
domain1.com         MX    10 mail.domain1.com
mail.domain1.com    A     your.ip.address.here
 
1 members found this post helpful.
Old 06-05-2011, 04:48 AM   #3
shanekelly
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks Smoker, that's been really helpful. I'll try it when I'm back at work tomorrow.
 
  


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
Missing nameservers reported by your nameservers sushantchawla2005 Linux - Server 6 02-02-2011 08:50 AM
private nameservers sneakyimp Linux - Server 4 12-17-2010 05:16 PM
Nameservers theburner9 Linux - Newbie 6 02-17-2010 12:37 PM
The frustration of nameservers being down jobokoth Linux - General 3 08-20-2003 05:22 AM
nameservers.... Config Linux - Networking 2 01-19-2003 07:26 AM


All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration