How to restrict directory access by IP address?

To secure your admin area from hackers, we recommend that you allow access only from a selected IP address to your admin directory. You need to create a .htaccess file in the directory where you want to restrict access to specific IP addresses.For example, if you have a WordPress blog...

How to ban any IP Address via .htaccess?

If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.order allow, deny deny from IP-ADDRESS allow from all Replace "IP-ADDRESS" with the IP Address you want to block.

How to add a user to a database and add privileges?

1. Log into your cPanel account.2. In the Databases section, click on MySQL Databases Icon.3. Scroll down to the end of the page and under Add User to Database, select a user from the dropdown list, and then choose a Database from the list.4. Click on the Add button.5. On...

How to Enable or Disable PHP's display_errors via CloudLinux Selector in DirectAdmin?

Sometimes, we need to debug PHP. Hence, we need to enable display_errors or disable them for security reasons. You can do this using the CloudLinux Selector to enable or disable PHP's display_errors in DirectAdmin.1. Log in to your DirectAdmin account.2. In the Extra Features section, click on the Select PHP...

How to remove a redirect from your website in DirectAdmin?

1. Log in to your DirectAdmin Account.2. In the Account Manager section, click on the Site Redirection Icon or type Site Redirection in the navigation filter box, and then the option will appear. Click on it.3. Under Local URL Path, Select the redirect entry you wish to remove.4. Click on...

How to block emails by size using Spam filter in DirectAdmin?

You can use a spam filter to block emails by size.1. Log in to your DirectAdmin Account.2. In the E-mail Manager section, click on the SPAM Filters icon or type SPAM Filters in the navigation filter box, and the option will appear. Click on it.3. Under Block By from the...