Problems related to malicious parsing

Source: Internet
Author: User
The problem of malicious resolution is that my server is an independent ip address. other domain names were resolved to my server a few days ago. now I have made a 301 jump to the resolved domain name, however, this can only prevent the current domain name from being resolved. For more information, see how to set an ip address to prohibit access to the server and set a specific domain name for access. an ip address is forbidden to access the server on the Internet, how to set a specific domain name to access NameVirtualHost & nbsp; 221. *. *. * & nbsp; & lt; VirtualHo malicious parsing
My server is an independent ip address. some other domain names were resolved to my server a few days ago. now I have made a 301 jump to the resolved domain name, but this can only prevent the current domain name from being resolved,
How Can I disable ip addresses from accessing the server and set a specific domain name to access the server,
I found a method on the Internet to prohibit ip access and set a specific domain name for access.

NameVirtualHost 221 .*.*.*

Server name 221 .*.*.*

Order Allow, Deny
Deny from all



DocumentRoot "/www/web"
ServerName www.xxx.cn





However, if this is used, the server cannot be restarted. if you use the appserv server, please advise.
------ Solution ----------------------
Http://www.uddtm.com/server/web/478.html
------ Solution ----------------------
What you can find on the Internet is the same as your main post example.
In fact, this is the same. you can use a VM to mislead requests into the trap.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.