In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article uses easy-to-understand examples to introduce how virtual hosting sites prohibit a certain ip access, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Our website may be deliberately attacked for a variety of reasons, and when we encounter an attack, we can see from the website log that there is a wide range of IP or a single one, and continue to visit it. After such an obvious phenomenon, we can use the IP deny Manager to disable access.
Many virtual space vendors do not provide the ability to block IP access in host management, of course, if there is you, it will be much more convenient. If it is not provided, we will add the field that blocks IP in the htaccess file.
If there is a blocking function, find the "IP reject Manager" in the cpanel panel of the host. Use the IP rejection manager to block the ddos attack site, through the log, see the attacker's IP, and then add it.
If there is no blocking feature, but to block a particular IP, you can use:
Block a particular IPorder allow,denydeny from 10.16.0.1allow from all
If you want to block multiple IP addresses, you only need to add a few more deny from
Block multiple IPorder allow,denydeny from 10.16.0.2deny from 10.16.0.3deny from 10.16.0.4allow from all
For individual webmasters, most of them are not very clear about the network, and there is no way to thoroughly solve the attack problem. Because of the website space we use, the monthly traffic is limited, and once the traffic is consumed, this month's site cannot be opened.
On the virtual hosting site how to prohibit an ip access to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.