Cpanel change PHP handler error

There appears to be a bug somewhere  in the cpanel EA4 upgrade process. When changing the php handler after the conversion, you may see an error like this: API failure: (XID ntgxgd) Provide the “type” parameter for the “Cpanel::WebServer::Supported::apache::make_handler” function. I found that this error was caused by the yum-plugin-universal-hooks package, not being installed properly at the time of the conversion. To correct this and be able to change php handlers in Easy apache 4, you will need to do the following: yum reinstall yum-plugin-universal-hooks /scripts/migrate_ea3_to_ea4 –reinstall –run These commands will reinstall the  yum-plugin-universal-hooks and then recompile EA4 to include the correct hooks.   If you are using cloud linux,… Read More

Continue Reading

Reverse DNS or PTR records, How they work and what they do.

Normally when we do a DNS lookup, we check a domain for an associated IP. Reverse DNS is used to check an IP for an associated domain name. For this to work, you need a PTR record in the  IP address zone file. These records do not go in your domains zone file. PTR records are generally maintained by the owner of the IP, most likely your hosting provider or whoever you may be leasing your IP address from. On a server, the mail server relies heavily on RDNS to verify the sender of a message. If the sending hostname does not match the PTR record, then your message may… Read More

Continue Reading

Configuring Backups in Cpanel

Backups are very important to a website. If something should happen to the server, whether it be a hardware failure or breach of security, it is always good to have a copy or 2 to revert to. Backups can be set up 2 ways. The host can make backups, download backups and restore backups from within WHM and the end user can do it right from their cPanel account. Configure automatic backups in WHM: Type “Backup” in the find box Just below that, click “Configure Backup” This will bring you to a screen with a lot of options. It is important to pay attention to each option so that you… Read More

Continue Reading

Setting up Custom Nameservers in Cpanel

Using the nameservers on your server can make things a bit easier when it comes to editing your DNS settings. When using the name servers built into cPanel, you can add sub-domains without having to make any changes to the zone file. You can also setup SPF and domain keys with a couple clicks. This setup is ideal for small servers only hosting a few sites. If you are hosting a large number of sites it may be in your best interest to set up a separate nameserver server to ensure the single nameserver won’t be overloaded, thus taking your sites down. They do offer DNS clustering that works great… Read More

Continue Reading