eBoundHost.com

VPS hosting for 14,000+ very fast websites. Check our virtual private servers with free cpanel, 100-300 gb storage, 6-8 gb ram, unlimited domains and other linux vps server options!

Help Center

Q: Can I block certain IP addresses from seeing my website?
Yes, you can block certain IP addresses from accessing your site by using a Deny directive in an .htaccess file.

The Apache documentation explains how to do this:
http://httpd.apache.org/docs/mod/mod_access.html
http://httpd.apache.org/docs/howto/auth.html

For example, if you put the following .htaccess file in a directory, then it would operate on all directories beneath it:

Deny from 192.168.72.2
Deny From 192.168.55

The 1st Deny directive would block the exact IP address 192.168.72.2. The 2nd Deny directive would block all IP addresses fitting the pattern
192.168.55, including 192.168.55.1,
192.168.55.2, 192.168.55.254, etc.
FREQUENTLY ASKED QUESTIONS
1) Can I block certain IP addresses from seeing my website?

2) How can I make the webserver show a default page other than index.html?

3) How do I deny web access to a particular file?

4) Web server error code explanation (Apache, IIS, Netscape)

5) Why does my website just say "Error 403 Forbidden"?

ONLINE MANUALS

CONTACT SUPPORT
Name:
Email:
Telephone:
Website:
Problem Description:
(650 char limit)

© 2000-2010 EBOUNDHOST, ALL RIGHTS RESERVED.