All Entries Tagged With: "WHM"
Apache not starting after a fresh cPanel install
Issue : On a brand new server with a clean cPanel install, apache does not want to start. root@server [~]# service httpd start Syntax error on line 416 of /usr/local/apache/conf/httpd.conf: UserDir “enable” keyword requires a list of usernames root@server [~]# Fix : This usually happens when Apache mod_userdir Tweak is enabled in WHM before adding [...]
Nameserver error while trying to add a domain
Issue : Following error occurs when trying to add a domain to a cPanel account : Please transfer the domain to this server’s nameservers or have your admin add one of its nameservers ips to /etc/ips.remotedns and make the proper A entries on that remote nameserver. Solution : To get around this, add the remote [...]
cPanel default page after IP migration
Issue : After the migration of IPs between two servers, sites are coming up with the default cPanel page. Solution : This can be due to an IP mismatch. Make sure that the DNS records and the Apache VirtualHost for the domains are configured on the same IP. Check the IP in “WHM >> Show [...]
Changing the holding page for apache
Issue : When accessing the IP, it brings up the apache/cPanel success page instead of the website. Solution : If it is a shared IP then apache serves that generic page which is the default. You can manually change that by editing /usr/local/apache/htdocs OR In newer versions of cPanel, you can do that via WHM [...]
Domain not accessible by IP/~username
Issue : The DNS has not yet propagated. Meanwhile, need to access the account via serverIP/~username but it does not work. Fix : 1. Log in to the server WHM as ‘root’. 2. Go to Main >> Security Center >> Apache mod_userdir Tweak. 3. Make sure that it is allowed for the particular domain and/or [...]
How to resolve multiple problems due to permission issues
Sometimes, permissions might get screwed server wide resulting in various problems for different users. Here are some steps to reset the permissions. /scripts/checkbsdgroups — Checks and repairs proftpd ownership on FreeBSD. /scripts/chownpublichtmls — Change ownership of all users web space to them, which is useful for converting to suexec. Files owned by nobody are deleted. [...]
Changing IPs for multiple accounts on a server
Issue : How to change the IPs of multiple accounts on a server in one go? The option in WHM is tedious. Hence, it does not serve the purpose. Solution : You need to have ‘root’ SSH access in order to do this. Create a file and put the concerned accounts in it in the [...]
Upload failed despite having custom php.ini
Issue : A 5 MB file cannot be uploaded via cPanel’s File Manager even though there is a custom php.ini in place with upload_max_filesize and post_max_size set to 10 MB. Solution : To alter the maximum file size for files uploaded via cPanel’s File Manager, you must use the following Tweak Setting in WHM: WHM [...]
WHM not sending password on creation of a new account
Issue : When a new account is created via WHM, it sends a confirmation email but the password remains hidden! Fix : In order to get around this, do the following : – Go to WHM >> Tweak Settings – Enable the option : “Send passwords in plaintext over email when creating a new acccount. [...]
Allotting unlimited bandwidth to resellers
Issue : How to allot unlimited bandwidth to resellers? And how can they create packages with unlimited bandwidth for their clients? Fix : Enable ‘overselling’ for the particular reseller account from the Reseller Center. cPanel wouldn’t count the bandwidth for the reseller account if ‘overselling’ is enabled. And if you check WHM >> Reseller Center [...]
Configuring Exim to run on another port
Issue : Port 25 blocked is blocked by ISPs. How to add an alternate port ? Fix : Assuming that you want to use , say , port 666. Put the following line in the first text box in Advanced Exim Editor : daemon_smtp_ports = 25 : 666 OR Go to WHM >> Service Configuration [...]
Wild-card SSL not working for cPanel/WHM
Issue : A wild-card SSL (*.server.tld) works for the server hostname (https://hostname.server.tld) but does NOT work for cPanel/WHM (https://hostname.server.tld:2083) Fix : – Go to WHM >> Service Configuration >> Manage Service SSL Certificates – Install the certificate for each of the services. This should resolve the issue.
Enabling the PHP extension–FreeType
Issue : How to enable the PHP extension–FreeType on a server running cPanel/WHM and apache? Solution : You need to re-compile apache and php with freetype . This can be done via the command line or through WHM. Command line : Run /scripts/easyapache and select “ttf” for freetype. WHM: You can enable freetype via WHM [...]
Unable to access user’s control panel
Issue : After migration of servers, the reseller (logged in with the root password) is unable to access the users’ control panel. Fix : Go to WHM >> Main >> Tweak Settings and check if the following option is enabled : “Disable login with root or reseller password into the users’ cPanel interface. Also disable [...]
Disabling /whm and /cpanel for all domains except the hostname
Issue : How to disable access to /whm and /cpanel for all domains except the server hostname? Solution : This would need customization of the httpd.conf file. First, edit the httpd.conf and remove any lines pertaining to forwarding of domains to /cpanel and /whm. Secondly, run the following command to distill the file : /usr/local/cpanel/bin/apache_conf_distiller [...]

1800 810 6547