cPanel is the leader and industry standard of standalone hosting platform nowadays. The main product WHM/cPanel has been used by most web-hosting providers due to its flexibility, and because it’s easy to manage,customizable and backed by great quality support.
1. Get a Strong Password
Every user by default will get a username and password to login into the cPanel domain owner interface. The same login credential is applied to the default mysql database user, FTP account, email address and also system user login, which you can use to access the server remotely by using SSH (if the server administrator enables this feature).Changing the cPanel login password is a critical first action. If someone is able to retrieve or guess your password, they will get all unwarranted privileges to the server, which is dangerous.
There are some cases where a valid user’s registered email account has been hacked into and taken over by a hacker. Inside the email Inbox was the login credential for his cPanel account. When the owner wanted to reset the password (which had been changed by the hacker), he had to contact the web hosting provider. The problem is he needed to use the registered email address for verification as the account owner; nothing can be done.
A good password practice should be applied to prevent this kind of problems. Some tips for password management best practice:
- Change your password frequently
- Avoid dictionary words
- Avoid familiar items like birth date, vehicle registration number or phone number
- Use a combination of letters, numbers and symbols
- Use more than 8 characters
- Do not ‘remember’ your password in the browser
2. Understand the server environment
Make sure you totally understand the server environment before use. Some key things which you need to know are the server operating system and architecture, kernel version, applications (cpanel,apache, php, mysql, perl) version, IP address and hosting package limitation. You can get this information on the main page which usually appears on the sidebar of the cPanel interface. A good hosting server should be run on the updated version of the kernel and applications under 64 bit architecture (x86_64).3. Check permission (File and directory)
cPanel users by default will get a home directory under /home/{username}. All files and directories under the user’s home directory should be run on respective permission and ownership. The most critical directory which should be run under correct permission and ownership is public_html. But, before we proceed with the checking, you should know how PHP is handled inside the cPanel server.Create a phpinfo page under public_html. Access the page via browser and check the value of "Server API".
You can use cPanel File Manager, FTP client or SSH access (if allowed) to fix the permission and ownership issue. Do not forget to delete the phpinfo page after the information that you want is retrieved.
4. Add some protection
Even though protection and security is totally under server administrator responsibility, cPanel users can take advantage of cPanel flexibilities in adding some protection to your website, domain and cPanel account.disable_functions=exec, passthru, shell_exec,system, proc_open, popen, curl_exec, curl_m ulti_exec, parse_ini_file, show_source
5. Notification and Monitoring
It is required to put a secondary email to receive notification by cPanel. By default, the user’s registered email will always be the primary contact. Under Update Contact Info (cPanel > Preferences > Update Contact Info), add a secondary email as a backup in case the primary email is unreachable.Subscribe to any monitoring tools available online to monitor your website and domain availability. Even though some web hosting providers offer this service for free, you might need to have another external monitoring point for more accurate results. Make sure you configure the monitoring system to trigger and send alerts to your email so you will receive notifications immediately. Sites like http://www.monitor.us and http://www.siteuptime.com offer free monitoring tools based on geographical locations.
Post a Comment Blogger Facebook