Can I block certain countries from my website?

Asked by:
HubFans / n/a Points
Time:
2013-12-15 2:43 am EST
Category:
How To
Hits:
445
I've had my website for over a year now. How can I block certain countries from accessing my website -- while ensuring that everyone else has access to it?


To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
9,661 Points
2013-12-16 9:04 am EST
Hello,

Thank you for your question. You can block countries using the .htaccess file, which is explained in our walk-through guide titled "Blocking a country's IP ranges in .htaccess."

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Want to share this Question?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.