How to Reset a WordPress Admin Password (Email, WP-CLI or cPanel)
Lost access to your WordPress admin account? Reset your password using MySQL commands in cPanel’s command line.
Lost access to your WordPress admin account? Reset your password using MySQL commands in cPanel’s command line.
WHM shows its first-login wizard until the marker file /etc/.whostmgrft exists. Automated builds can create that file, but only after they set what the wizard would have set: the server contact email and the nameservers in /etc/wwwacct.conf, a valid hostname, and the licence. Check every value in WHM afterwards, and test the whole build on a spare server before you use it for production.
Spam emails can overload your cPanel server and affect deliverability. By optimizing Exim and Tweak Settings in WHM, you can significantly reduce spam and secure your mail server. Follow this step-by-step guide to configure your server for better email security.
Keeping Exim up to date is crucial for security and performance on cPanel servers. cPanel provides a built-in script to upgrade Exim manually. Follow this quick guide to update your mail server with a single command.
Start from a fresh, supported operating system (for example AlmaLinux 9), set a fully qualified hostname, update the system, then run the installer as root inside screen: cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest. When it finishes, open https://your-server-ip:2087 and complete the setup in WHM. Most install errors come from a server that is not fresh, a bad hostname, or too little disk space.
The IP Deny Manager in cPanel allows you to block specific IP addresses, domains, or entire IP ranges from accessing your website. This feature is useful for preventing malicious visitors, spam attacks, and unauthorized access.
An addon domain is a second, separate website on the same cPanel account, with its own folder, email addresses and SSL certificate. In current cPanel, open Domains > Domains, click Create A New Domain, enter the domain, untick Share document root, choose a folder such as example.net, and submit. Point the domain's DNS to your hosting first.
On cPanel hosting, set folders to 755 and files to 644. Protect configuration files that hold passwords, such as wp-config.php, with 600 or 640. Never use 777. Change permissions in Files > File Manager: select the item, click Permissions, tick the boxes or type the number, and save.
Encountering the "/usr/bin/crontab permissions are wrong. Please set to 4755" error in cPanel? Follow this simple guide to resolve it on RedHat, CentOS, or Fedora servers.
Practical, real-world articles on offshore hosting, Linux and cPanel administration, server security and the technology behind our network, written by the UnderHost team.
Popular topics