Crizomatic Posted November 8, 2009 Share Posted November 8, 2009 Whenever I have WHMCS create a hosting account in WHM, it sets up the DNS zones using the typical nameservers, something like "ns123.websitewelcome.com". How do I set it up so that it uses my custom nameservers instead? I've gone through the settings so many times I don't think I've missed anything, but surely this is possible? This is the only thing I'm having trouble with, right now I've just been having to manually setup accounts which slightly defeats the point of WHMCS automating that process. Thanks! Chris 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted November 8, 2009 Share Posted November 8, 2009 Have you edited your DNS templates in WHM to reflect your custom nameservers? 0 Quote Link to comment Share on other sites More sharing options...
Crizomatic Posted November 9, 2009 Author Share Posted November 9, 2009 Thanks for the reply Is that the way to go about doing this? I looked at the templates previously, but I thought there may have been a less manual way of doing this. How would I edit this to use my custom nameservers? Swap these out? %nameserver%. = ns1.mydomain.com. %nameserver2%. = ns2.mydomain.com. What about %nameservera%, should I edit those? ; cPanel %cpversion% ; Zone file for %domain% $TTL %ttl% @ %nsttl% IN SOA %nameserver%. %rpemail%. ( %serial% ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds %domain%. %nsttl% IN NS %nameserver%. %domain%. %nsttl% IN NS %nameserver2%. %domain%. %nsttl% IN NS %nameserver3%. %domain%. %nsttl% IN NS %nameserver4%. %nameserverentry%. IN A %nameservera% %nameserverentry2%. IN A %nameservera2% %nameserverentry3%. IN A %nameservera3% %nameserverentry4%. IN A %nameservera4% %domain%. IN A %ip% localhost.%domain%. IN A 127.0.0.1 %domain%. IN MX 0 %domain%. mail IN CNAME %domain%. www IN CNAME %domain%. ftp IN CNAME %domain%. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 9, 2009 WHMCS Support Manager Share Posted November 9, 2009 Also check the nameservers entered in Setup > Servers. 0 Quote Link to comment Share on other sites More sharing options...
Crizomatic Posted November 9, 2009 Author Share Posted November 9, 2009 (edited) Yes I've set those up correctly prior to asking this. They do not affect the automatic setup at all for some reason. Edited November 9, 2009 by Crizomatic 0 Quote Link to comment Share on other sites More sharing options...
Crizomatic Posted November 10, 2009 Author Share Posted November 10, 2009 ANSWER: The default nameservers have to be setup at the root level. My host (hostgator) did this for me in 30 seconds. Now all new accounts will use my private nameservers by default. I knew I didn't have to mess with that template. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.