LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 04: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, 05:41 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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, 03: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

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
Open Source Consulting | Domain Registration