Tag: cpanel
How to disable directory browsing?
One of the must do on setting a secure Apache webserver is to disable directory browsing. This could prevent the server from showing a listing of the existing files if there’s no index in one folder. Disable directory browsing via .htaccess Add in the .htaccess file the following
WordPress: Which privileges are needed by MySQL Database User
The famous 5 minutes installation for WordPress state that: Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it Most installation instruction for WordPress on the web state that you can GRANT ALL PRIVILEGES to that user. Q. What are the…
Protect .htaccess file
When avisitor tries to obtain access to .htaccess file, server automatically generates a 403 forbidden error. However, we can apply an extra layer of security to .htaccess Add the following Note: htaccess file permissions is 644 (chmod)
How to transfer cPanel accounts from one server to another cPanel server
The server we are transferring the accounts from : OLD SERVER The server to are transferring the accounts to : NEW SERVER PROCESS ON NEW SERVER 1. Log into WHM. If your server is a new server, create a main account. The main account is also your new server’s name servers (NS1 and NS2) .…