hosting tutorials WeChat Top

👋🏼Welcome to my WP-Host blog where I am excited to share my knowledge and expertise on WordPress hosting and website construction tutorials with you. Let’s connect and learn from each other! You can reach me at info@yrshare.com.

Email Me

(如果你会中文,可以点击微信图标与我联系。)

扫一扫加我

注:因个人英文水平有限,所以暂时只能为懂中文的朋友提供wordpress建站服务

微信:18200592859 或 yrwordpress

Use SiteGround to block traffic in certain regions to prevent websites from being maliciously attacked (use the built-in function of SiteGround host)

Use SiteGround to block traffic in certain regions to prevent websites from being maliciously attacked (use the built-in function of SiteGround host). Use SiteGround to block traffic in certain regions to prevent malicious attacks on the website. This article mainly introduces a Blocked Traffic function of the Site Ground host, which can block traffic from specific countries and regions and reduce the risk of malicious attacks. This feature can be very useful if your website is being frequently hit by malicious traffic from certain regions.

The following is the official introduction of this function by Site Ground

Ensuring the safety of our clients’ websites has always been a paramount concern for us and an area in which we continuously strive to enhance. Our latest addition to the range of protection measures available to our clients, which comes at no extra cost and is included in all our hosting plans, is the capability to block traffic from specific countries to your website with ease. This feature not only enhances your website security, but also optimizes site performance by reducing resource usage when undesired traffic is prevented from certain locations.

When to consider blocking the traffic from a specific country?

There are different reasons why someone would like to block the traffic from a specific country to their site, but the most common are the following:

  • To Stop Malicious Traffic

If you notice abnormally high traffic from a country that your site is not targeting as audience, or you start receiving too many spam comments from such a country on your blog posts, or you identify any other behavior you consider suspicious, coming from a geographic region that’s not your main user target, it may be a wise idea to block the traffic from this location.

  • To Streamline Your Business

There are various reasons due to which you might not be willing or able to do business with certain countries. Some examples are expensive and/or complicated deliveries; legal requirements that prevent you from providing your service, heavy taxation requirements, etc. Now, if you need to stop access to your site from a specific country due to such reasons, this can be easily done through your Site Tools.

How does SiteGround country block work?

Adding a country to your Blocked list is easy. You need to go to your [Site Tools > Security > Blocked Traffic  > Block Country] section:

2023032503351113

Once a country is blocked, all visitors coming from an IP address that we identify as being located in this country will start seeing our default Country Block HTML page.

2023032503345671

The tool allows you to block multiple countries, and also to block certain countries from accessing your main domain, or specific sub-domains. You can review the list of all countries you have denied access to, and/or add or remove countries from it with a click of a button at any time. 

Our new Country blocking option is also fully compatible with our SiteGround CDN and visitors from blocked countries would not be able to access your website pages whether you have our CDN service activated or not.

以下是SiteGround官方对这一功能的介绍:

确保客户网站的安全一直是我们最关心的问题,也是我们不断努力提高的领域。我们为客户提供的一系列保护措施的最新补充是能够轻松阻止从特定国家/地区到您网站的流量,无需额外费用,并且包含在我们所有的托管计划中。此功能不仅可以增强您的网站安全性,还可以在阻止来自某些位置的不需要的流量时减少资源使用来优化网站性能。

什么情况下需要考虑阻止来自特定国家/地区的流量?

用户想要阻止从特定国家/地区到其网站的流量的原因多种多样,但最常见的原因如下:

  • 阻止恶意流量

如果您注意到来自某个国家/地区的流量异常高,而您的网站并未将其定位为受众,或者您开始​​在博客文章中收到来自该国家/地区的过多垃圾评论,或者您发现任何其他您认为可疑的行为来自某个地理区域
那不是您的主要用户目标,阻止来自该位置的流量可能是一个明智的主意。

  • 简化您的业务

由于各种原因,您可能不愿意或不能与某些国家开展业务。

比如:昂贵和运输成本/或复杂交付流程等;阻止您提供服务的法律要求、重税要求等。现在,如果由于此类原因您需要停止从特定国家/地区访问您的网站,可以通过您的网站工具轻松完成。

SiteGround country block 如何运作?

将国家/地区添加到您的阻止列表很容易,请依次打开 [Site Tools > Security > Blocked Traffic  > Block Country] :

2023032503351113

如上图所示,设置阻止IP或国家就可以了。一旦某个国家/地区被阻止,来自我们确定位于该国家/地区的 IP 地址的所有访问者将开始看到我们的默认国家/地区阻止 HTML 页面。

2023032503345671

该工具允许您阻止多个国家/地区,还可以阻止某些国家/地区访问您的主域或特定子域。您可以随时单击按钮查看您拒绝访问的所有国家/地区的列表,和/或从中添加或删除国家/地区。

这个功能和SiteGround CDN完全兼容,无论您是否激活CDN 服务,来自被屏蔽国家/地区的访问者都无法访问您的网站页面。

WordPress Hosting / 悦然wordpress建站

WordPress Hosting / 悦然wordpress建站

【WordPress Hosting / 悦然wordpress建站】I am a WordPress hobby from China, and I like to communicate with friends from all over the world to learn WordPress website building and maintenance related knowledge.

文章: 40