Report this

What is the reason for this report?

How to setup cPanel when using Floating IP ?

Posted on December 2, 2015

I am using one droplet with CentOS and WHM/cPanel installed on them. Also I assigned a Floating IP to that droplet. In WHM i created two accounts for my two domains. At the registrar I pointed them to the digitalocean NS servers. In the domain section of digitalocean I created entries for the two domains. Both of the domains respond at ping requests from the floating IP. The problem is that when I try to access the domain by http I land on the cgi-sys/defaultwebpage.cgi page. Please if you could tell me what further settings must I operate in WHM so that both of my domains work. Thank you in advance.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi @ficklefish . It’s not cpanel server duplication really. I had only one droplet with cpanel installed on it, but had 2 domains (2 separate accounts) on cpanel. Can you explain your scenario better so I can understand what your problem is ? Maybe I can help you resolve the situation.

Hi @bogdandynamic thanks for your reply.

I am struggling to find a way to stick a load balancer in front of cpanel server. I want to do it for redundancy in case the node fails.

Obviously the issue is with keeping cpanel server properly duplicated across two instances as there is no native support within cpanel for that! I wish I could dump cpanel, the problem is so many customers love it and want it !

Hello @ficklefish. I now understand what your problem is. You need redundancy in accessing cpanel ? Or the websites hosted within the server. If your answer is the latter, you could just use nginx as a proxy in front of apache to “load-balance” the traffic. But if you need a solution in the first scenario, I cannot help you. Personally I maintain a physical server which hosts more than 150 websites and more than 20 virtual machines hosted on G.Cloud. And never have I had problems accessing cpanel if not busting some system global configuration or physically damaging the hardware. Hope this helps in some manner. Best of luck!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.