You cannot have it refuse connections, since the hostname (or IP)
that the user is trying to use as their HTTP host is not known to the
server until the client actually sends an HTTP request. The TCP
listener is always bound to the IP address.
Would an HTTP error response be acceptable instead?
|
Saturday, 22 July 2017
How to stop a domain name pointing to your website IP address
Subscribe to:
Post Comments (Atom)
No comments:
Post a comment