Add to Favorites     Most Valuable Member of the Month     Follow Us on Twitter
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Domain Name Issues > using my own domain for name servers...
forgot password?


SPONSORED LINKS

Reply


Old
  Post #1 (permalink)   12-07-2009, 01:17 AM
HD Newbie
 
Join Date: Dec 2009
Posts: 8

Status: cr0wn3r is offline
Just wanted to check I'm setting my DNS up right.

I usually have domain names with a registra that provides name servers, so I use the registra's control panel to manage the A / Cname / MX etc records.

Currently though, I have a site on a VPS, from a company that doesnt provide nameservers, and a domain name with a registra that doesnt provide name servers. Great...


So I think in order to set this up I need to:

At the domain name registra, set the nameservers for my websites domain name (my website will be www.mydomain.com) to

ns1.mydomain.com
ns2.mydomain.com

set the child name servers to

ns1.mydomain.com - IP.of.my.VPS.server
ns2.mydomain.com - IP.of.my.VPS.server

Then tell my vps that it is a name server through WHM (somehow?) and set up A records pointing ns1 and ns2 to the main mydomain.com record.

Is this right?

And any tips on specifically how do I go about the last section of getting the right settings in to WHM so that it acts as a name server as well as serving a website on the same domain name would be great.

Thanks

Last edited by cr0wn3r : 12-07-2009 at 01:29 AM.
 
 
 


Old
  Post #2 (permalink)   12-07-2009, 09:52 AM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 1,398

Status: handsonhosting is online now
What you're doing is right in line for what many people do. The downfall being that if one of your nameservers stop working for whatever reason, if they're on the same machine BOTH stop working which means that your sites won't display. Nameservers stopping in cPanel is actually a fairly common event minimum of once per month sometimes more frequently depending on what is being done on the nameserver side of things.

So you'll setup the information in your WHM and assign the IP number (under the section for Setup Nameservers). With the IP numbers that it provides you then go to your registrar and tell it that ns1.mydomain.com points to whatever IP number.

Getting the domain name to use the nameservers on the server will basically mean you just change the nameserver information on the domain name itself to no longer use your hosts nameservers and instead use your own. You should also setup A Records for the nameservers, this will be done when you go through the Nameserver Setup section in WHM.

Final part would be under the Main WHM Configuration where you would change the default nameservers to use.

That should be it.
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Hosting, SSL Certificates, Domain Registration, VPS & Dedicated Servers
Proudly providing hosting to www.HostingDiscussion.com Forums!
 
 
 


Old
  Post #3 (permalink)   12-21-2009, 06:13 PM
HD Newbie
 
Join Date: Dec 2009
Posts: 4

Status: ack3 is offline
Having separate name servers will definitely pay off in the long run.
 
 
 


Old
  Post #4 (permalink)   12-24-2009, 12:04 PM
HD Newbie
 
Join Date: Dec 2009
Location: US
Posts: 32

Status: HJ-Andrew is offline
I agree, having your own name servers is a crucial step.
__________________
HostJackpot.com :
The only web hosting package you will ever need :
 
 
 


Old
  Post #5 (permalink)   12-31-2009, 02:05 PM
HD Newbie
 
Join Date: Sep 2009
Posts: 33

Status: thewebedge is offline
Are you using any controlpanel or configuring it manually with out any controlpanel?
__________________
Webedge Hosting
http://www.webedgehosting.com
Cheap Shared, Reseller, Managed VPS hosting for Linux and Windows. 50% discount use promo code 500FF, Dedicated Hosting and SSL Certificate
 
 
 


Old
  Post #6 (permalink)   01-03-2010, 10:46 AM
HD Newbie
 
Join Date: Nov 2009
Posts: 29

Status: TNT Webhosting is offline
Sounds like you are doing it right, but finding a tutorial online to keep by your hand on a print out might help more.
__________________
Cheap VPS Provider
Shared Hosting - Starting at $2/mo.
 
 
 


Old
  Post #7 (permalink)   01-04-2010, 08:34 AM
HD Newbie
 
Join Date: Dec 2009
Posts: 8

Status: cr0wn3r is offline
Thanks for the responses guys.

I've got it working now along the lines discussed, though I do see the potential issue of having everything sat on the same server, nameservers and all.

@thewebedge - I'm using a control panel on the VPS - cpanel / whm. Then just the text fields to fill in on the registra's site.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: