Question

WHM on CentOS 7 & Additional Public IP Addresses

Posted March 5, 2020 101 views
DNS

Hello,

Multiple attempts with Google Cloud Platform, CentOS Compute VM, and WHM setup; and attempts with cPanel Support / Forums to figure out a basic with WHM & Public IP Addresses, I am posting at Digital Ocean community and support in hopes to obtain a solution and to point out which setup I did miss on.

How do I add within WHM External / Public IP Address that is to be dedicated to a created Account within WHM that is a cPanel account established with a different Domain Name of the same Public IP to be added?

Attempts :

  • Installing WHM manually on a Google Cloud Platform CentOS 7 Compute; and while configuring WHM after install will prompt WHM to display a message about CentOS VM as being “server is on a NAT-configured network.” on “Add IP Address” page.

  • cPanel’s documents thus “If the installer detects a NAT-configured network, your server will configure itself for NAT mode and attempt to automatically map local IP addresses to public IP addresses.”

  • For Google Cloud Platform CentOS 7, I don’t think it is a straight forward process in adding additional Internal / Private IP Address from GCP console.

How do I add multiple External IP Addresses in WHM so I can use to host multiple cPanel accounts within?

  • Is WHM Droplet a NAT configured server like Google Compute?
  • Do I need to add more than one Network Interface?
  • Do I need to setup a DNS Server?
  • Do I need BIND
  • Do I need add more Internal IP Addresses within CentOS / WHM so they ‘point’ / 'bind’ / 'forward’, whatever the right term is, to the Public IPs ?
  • Do I need to create a DNS Zone within WHM for the domains; or I can keep using the domain’s registrar DNS Zone dashboard?

Any help or direction will be appreciated; Thanx

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @mystagogue,

I’ll try to summarize your question’s answer in a few sentences and then I’ll continue explaining each point you’ve made.

So, cPanel does have the functionality to add multiple IP addresses but it’s not entirely needed. This is because you can host multiple websites with one IP. This practice is used in every hosting platform as well as cPanel.

If you wish however to add another IP address it is indeed possible to some extend. You have the functionality however you just can’t add any IP address you wish. You’ll need to have your hosting company provide it to you if it’s even an option. I won’t go into specific here however each IP address is part of an IP range, this IPrange needs to be configured in the datacenter where your droplet is hosted in order for you to be able to add it to your cPanel/WHM droplet.

How do I add within WHM External / Public IP Address that is to be dedicated to a created Account within WHM that is a cPanel account established with a different Domain Name of the same Public IP to be added?

  • This option comes out of the box with WHM/cPanel. Creating multiple domains using one IP address is something that every hosting company is using.

  • For Google Cloud Platform CentOS 7, I don’t think it is a straight forward process in adding additional Internal / Private IP Address from GCP console. - You are correct. You can’t just go ahead and add the IP address you wish, this needs to be configured previously as mentioned above.

How do I add multiple External IP Addresses in WHM so I can use to host multiple cPanel accounts within?

Unfortunately, unless you host the server and the datacenter and you have full control, you can’t. I’ve touched this in the beginning of my answer.

All in all, I believe you are overthinking this. You can just create a cPanel/WHM server and host your websites there. It only needs one IP address to host your websites and you can have as many as you want.

Regards,
KDSys

Submit an Answer