Currently cPanel will start with eth0 and work through eth1 when you assign nameservers to your IPs via WHM. Unfortunately, this will automatically choose your management IP range first, which of course are non-routable. There are two work-arounds for this:
1: Create a fake nameserver record on your private IPs, and add an A record for that nameserver to your DNS. This is the fastest option, but not the best.
2: SSH to your server and edit /etc/nameserverips manually. An example file is blelow:
10.x.x.x=0
128.177.x.x1=ns1.my_cpanel_nameserver.com
128.177.x.x2=ns2.my_cpanel_nameserver.com
128.177.x.x3=0
128.177.x.x4=0
128.177.x.x5=0
Just replace the '0' after the '=' with your nameserver name. In this example, the first IP (10.x.x.x) is the management IP, and not used for nameservers. The next two IPs are public and assigned to two nameservers. The last three are public and not in use.
Categories
Categories
- 6 Users Found This Useful
Related Articles
cPanel FAQ
This is where you will find FAQ items relating to...
What are .htaccess files?
Simply put, they are invisible plain text files where one can store server directives. Server...
How do I upgrade Apache on my cPanel box?
There are two ways to update your Apache version on cPanel.1. From within WHM. Underneath...
I am receiving a 500 internal server error. What do I do?
The 500 Internal Server error can be caused by many different things. If you receive this error...
Error 550 – “The recipient cannot be verified”
On servers running cPanel, you may find that mail sent to valid users it bounced back by your...