install cpanel in centos 6.5 64 bit

May 7, 2014 4k views
Hi, i am attempting to install cpanel to later migrate my existing server from a shared hosting to digital ocean, but i followed all this instructions: And the issue is when i attemp to go to https://(siteip):2087 it redirect me to the existing cpanel domain, how i can change this to use the new install in digital ocean from the ip to be able to migrate the existing server? I created the droplet with same hostname, but what to do now?
3 Answers
Most likely, this is due to you having already set the hostname to to the domain that is currently pointing at you old server. Try running:

hostname your.ip.address

That should allow you to access it for now. Just remember to reset that once you've re-pointed the DNS to the new server.
Still not working
And i already set hostname in SSH
  • You should not set the hostname to an IP or with the IP:Port.

    I would recommend using a different name until you get them moved. Make sure to add a DNS A record for the new server.

I am thinking the reason you could not access it is because of cPanel's configuration. There is a setting that forwards it to the SSL hostname when you try to access WHM/cPanel.

Keep in mind that WHM and cPanel are two different things. WHM is used for the server side while cPanel is for the user side.

Have another answer? Share your knowledge.