Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Just installed a fresh CPANEL/WHM on a VPS.

I only have one IP address. What is the correct way to setup nameservers in WHM so that I can point the registered domains (i.e. from namecheap or godaddy or similar) to the nameservers at the server?

Alternatively, is it better to use the nameservers at the registrar and point the the domain directly to the new ip address that's registered in CPanel?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You need to edit the name server IPs at your domain registrar control panel. Most registrars allow to have two name servers in with the same ip. You can set up private name servers pointing to your server; like

ns1.yourdomain.com >> your_server_ip
ns2.yourdomain.com >> your_server_ip

By doing this your domain will start resolving to your server. Then you need to have proper entries in your named.conf. This can be done using the cpanel. Do let us know if you have further queries.

share|improve this answer
    
@Augustine - Indeed, I have done that. I think my larger issue is setting it up in WHM and Cpanel... THIS is where I'm basically clueless. –  Shackrock Apr 23 '11 at 16:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.