How can I block people from specific IP Addresses so they cannot access my web site ?

To block certain IP Addresses from accessing your web site ...

You can add the following to the .htaccess file in your www directory:

<Limit GET>
order deny,allow
deny from 63.11.187.103
</Limit>
(change the ip address to the appropriate ip you wish to block)

This will block them from seeing not only your web pages, but any pages in subdirectories below the main site. If you wish to block them from seeing only one, or a small subset of, subdirectories, place the above code in the .htaccess file of the highest level directory that you want blocked.

  • 5 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

May I upgrade at a later time?

Yes, you can easily upgrade your account at anytime. Simply click "upgrade" in the Client Portal...

How soon can my account be setup ?

For shared hosting services, our system will automatically activate your account and send you...

How do I backup and restore my Website and databases ? How do I move my sites from my current host to Astutium?

If your old host is also using WHM/CPanel then there is a reasonably simple procedure to move...

How do I use SSI (server Side Includes) ?

Web pages that use SSI (server side includes) by convention should be named with the .shtml file...

How Do I Create a RoR (Ruby on Rails) Application ?

To make your first RoR (Ruby on Rails) application in your Astutium Business, ECommerce or...

Powered by WHMCompleteSolution