1. The SSL certificate for cPanel on server.example.com will expire in less than 30 days
This warning is displayed via email or when logging into WHM/cPanel on the secure ports and usually is for a self-signed certificate that the server uses. How to solve it? Easy, just log into WHM and go to Home »Service Configuration »Manage Service SSL Certificates. Then click on Reset Certificate in the row for the respective service. Do not do this for SSL certificates purchased from a trusted authority.
2. You do not have permission to create subdomains of the server’s hostname
You want to create a subdomain in the account that has the same domain as your server hostname. And you are doing the regular work that you always do when creating a subdomain. However, you get this error message. Why?
This happens because the subdomain you want to add is a subdomain of the domain in the server’s hostname. To remedy this you need to log into WHM and go to Home »Server Configuration »Tweak Settings. Then locate the following option: “Allow users to park subdomains of the server’s hostname” and set it to on. Then click on Save.
3. Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server.
This problem happens when trying to create an addon domain in a cPanel account and that domain is using DNS servers that do not belong to your server. The full message is:
Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.
There are two ways to fix this:
- Log into WHM and navigate to Home »IP Functions »Configure Remote Service IPs. Then click on the second tab on the right “Remote Name Server IPs” and enter the domain’s remote DNS server IP address/es. You should enter one address per line. Then click on Save.
- From your WHM go to Tweak settings (Home »Server Configuration »Tweak Settings) and find the “Allow Remote Domains” option. Set it to On and click on Save. However, please note that this is not recommended as per the description say: “Allow creation of parked/addon domains that resolve to other servers (e.g. domain transfers) This can be a major security problem. If you must have it enabled, be sure not to allow users to park common Internet domains.” So if you set this to On, after creating the add-on domain, make sure you set it back to Off.
4. Roundcube database error
When logging into RoundCube you get the following error:
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database!e Please contact your server-administrator.
To fix this, log into your server via SSH as root and run:
# /usr/local/cpanel/bin/update-roundcube --force
These errors albeit common, can cause problems for the control panel users, wasting their precious time in the process. So we are sure that you will find this article very useful.
Of course, you don’t have to do any of this if you use one of our Optimized CPanel Hosting services, in which case you can simply ask our expert Linux admins to help you regarding any problem or configuration for your WHM/cPanel server. They are available 24×7 and will take care of your request immediately.
5. What causes 500 Internal Server Errors?
Here are the three most common reasons:
- Incorrect file permissons – Most commonly having a file as “world” writeable. This is a very common issue with PHP files. In general on our servers, PHP file permissions should not be higher than 775. Keep in mind too that the permissions of the parent folders/directories need to be set correctly too. See our File Permissons article for more information, including how to change those permissions.
- Leaving file permissions set incorrectly after manual installation of content management systems, forums, blogs, etc.
- Coding errors in the .htaccess file.
Correcting a 500 Server Error:
To track down what is causing the error, you will want to start with the error log in cPanel. Once you are logged into your cPanel look for and click on the “Error Log” icon under “Logs.”
For example, if I set a PHP file to 777 permisions (writeable by the world) this will cause a 500 Internal Server Error. I would be able to view something similar to the following in my Error Log:
[Tue Sep 20 08:18:01 2011] [error] [client 184.108.40.206] SoftException in Application.cpp:264: File “/home/username/public_html/concrete/index.php” is writeable by others
I would correct this by changing the permissions of the index.php file to 644.