Can I block certain countries from my website?

Asked by:
HubFans / n/a Points
Time:
2013-12-15 10:43 am EST
Category:
How To
Hits:
1,080
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
12,339 Points
2013-12-16 5:04 pm 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?
Need More Help?

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.
}