Setting up NameServer in WHM/cPanel

There are many tutorials how to set up nameservers in WHM / cPanel. I got a problem setting them up with a new WHM 11 server.

I added all IPs to the server, entered my nameservers under Basic cPanel/WHM Setup, and got a popup saying “Sorry, you are out of ips to assign as nameservers”. The IP Pool said that I have three free IP’s. What now? Searching around in google and forums.cpanel.net didn’t helped.

The solution is quite simple, edit the file /etc/nameserverips and make the following entries:
IP=0
eg. 192.168.0.1=0
for each IP (except the servers main IP) .

You can go back to WHM and now everything works. Could by that this is a bug in WHM/cPanel 11 that they don’t add those entries when you assign a new IP.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.