Make Cloud Instances more Cpanel/WHM friendly

713 views
Skip to first unread message

Phill Booth

unread,
Jan 16, 2017, 8:31:26 PM1/16/17
to gce-discussion

I have tried to install Cpanel on cloud, the install went ok's ish but there were a few bits that I did't like, and neither did the install.


The biggest problem is that Cpanel requires a valid domain name (hostname and instance name)  i.e server1.example.com. But you don't allow dots so you have to have server1examplecom this is an issue this can break the install in a number of ways. 


Yes you can change this manually but the hosts.ac file is reset.


The same issue with the DNS as well most people use 8.8.8.8 / 8.8.4.4 but this is reset to an internal DNS.


Those are the the top issues, Cpanel also emails notifications about the server status, since the email ports are blocked then they cant be sent out, painful when you want to get a contact form setup on WP.


Just remember that AWS has its own Linux Fork AMI Linux that runs Cpanel far more efficiently that the default OS CentOS, with none of these issues.

Carlos (Cloud Platform Support)

unread,
Jan 17, 2017, 1:30:54 PM1/17/17
to gce-discussion
Hi Phill,

I am not very familiar with the installation of CPANEL and WHM but I followed the steps in this article. The installation ran with no issues and I was able to access the WHM panel. As explained on that link, I ran the kernel command “hostname newcpanel.hostname.com

In regards to the DNS, you are right. It is documented that resolv.conf gets updated via DHCP. A usual workaround is to reconfigure the DHCP client to avoid the file from being reverted. It is also documented that the outgoing traffic in standard ports is blocked. This is meant to protect the GCE IP address reputation. I am not sure if performing some tweaks you can configure the application with one of the workarounds mentioned. 

By the way, although I have not had the chance to got in depth, there is another interesting discussion about installing CPANEL on GCE.


Ron Oliver Clarin

unread,
Jun 21, 2017, 11:04:18 PM6/21/17
to gce-discussion
Just like @Carlos told you, I use the guide from the article and it's working now. There are few problems i am having:
  1. DNS
    Since, I cannot use the dns from cpanel. I am no sure why and not a GCE worker to do SSH something. But, my remedy is to use the Cloud DNS even with the DNS records and it makes me worried on the DNS records in the cpanel.
  2. FTP
    I am always stuck on "Retrieving directory listing..." when connecting using Filezilla.
  3. SSL
    I am not 100% that I enaled my wildcard when it seems I am using https right now.
  4. Receiving emails
    I know how awful to know when you cannot receive emails from your server or use pop or imap. The alternative way I did is to sign up GSuite.
  5. Sending emails
    Yes, I know too!. We cannot because the block of the port 25. However, I follow the guide in Sengrid and it's working. Wondering, Why I should do after integrate the sengrid even there is no sending email achieve. 
  6. From No.5 issue, Install plugin (if using wordpress)
    install a plugin and it's works on Wordpress.
  7. php lines or enablers like MBstring.
    Sometimes, even you already enabled it. There is extra work to install via SSH. Not good for not very coding thing guy like me.
For the meantime, I am using it very well because I need some basic running thing. But, I am sure I am facing 
Reply all
Reply to author
Forward
0 new messages