Knowledgebase

How do I deny access to an IP address?

  • bloquear una dirección IP, averiguar la dirección IP de un visitante, desbloquear la dirección IP
  • 0

 

Do you want to prevent someone from visiting your website?

Below are the steps to block a specific IP address.

You can find some links below that will redirect you to your cPanel and its functions as long as the following conditions are met:

How to find out the IP address of a visitor?

1. Log in to cPanel.

2. Click on the "Visitors in Metrics section" button.

3. Select the domain name to view its recent visitor by clicking on the magnifying icon.

4. This will redirect you to a page where you can see the IP address of your site visitors.

How to block a specific IP address?

Here are the stepsLog in to cPanel.

1. Log in to cPanel.

2. Click on "IP Blocker in the Security section".

3. In the "IP Blocker" section, add the IP address of the site visitor you wish to deny access to your site in the IP address field.

4. Click the "Add" button. You will then be redirected to a successful confirmation page.

How to unblock the IP address?

 

1. Log in to cPanel.

2. Click on IP Blocker in the Security section.

3. Under IP Addresses currently blocked: select the IP address you want to unblock.

 

 

Deny All

 

You can also set an option to deny all, which will deny all.

This must be done by coding your .htaccess file as follows:

 

See the article on How to edit your .htaccess file for generic instructions that apply to all .htaccess changes.

  • Note: It is possible to accidentally block access to yourself using this method.


Be sure to allow access through your IP; otherwise, you will also be blocked. You can find out your current IP address by visiting the What is your IP? page. If you are accidentally blocked, contact HOST via live chat. You will need to confirm your identity (verify your account) before we can unblock your IP.

 

 


Was this answer helpful?