Skip to main content
replaced http://webmasters.stackexchange.com/ with https://webmasters.stackexchange.com/
Source Link

The solution would be the same as for Block a random domain pointing at my dedicated IPBlock a random domain pointing at my dedicated IP. I posted an answer there with configuration and a script.

Basically, you need to create a default virtual host entry to handle the IP address and any other random addresses. Then you can have your real site in a second virtual host directive that is specific to your site.

The solution would be the same as for Block a random domain pointing at my dedicated IP. I posted an answer there with configuration and a script.

Basically, you need to create a default virtual host entry to handle the IP address and any other random addresses. Then you can have your real site in a second virtual host directive that is specific to your site.

The solution would be the same as for Block a random domain pointing at my dedicated IP. I posted an answer there with configuration and a script.

Basically, you need to create a default virtual host entry to handle the IP address and any other random addresses. Then you can have your real site in a second virtual host directive that is specific to your site.

Source Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

The solution would be the same as for Block a random domain pointing at my dedicated IP. I posted an answer there with configuration and a script.

Basically, you need to create a default virtual host entry to handle the IP address and any other random addresses. Then you can have your real site in a second virtual host directive that is specific to your site.