paolinox
03-18-2007, 12:10 PM
I have set-up a new VPS on which I'm running my domain ( www.giochinternet.com ). So I set-up a vhost because I need to use this server for other domains as well. For now the only domain and vhost is the main domain ( giochinternet.com ).
Today searching my domain on google I found someone has redirected two of his own domains ( carlfretwell.com and osfreefall.com ) on my IP and my web server is obviously serving the home page of giochinternet.com even when it receives requests for carlfretwell.com and osfreefall.com.
Is there a method to instruct the web server to not serve requests for which the Host header parameter value is not in the list of his vhosts?
I'm using Nginx as web server, but searching on the Apache website I found Apache also serves the first vhost for all unmatched Host header parameter values.
Thanks in advance
Today searching my domain on google I found someone has redirected two of his own domains ( carlfretwell.com and osfreefall.com ) on my IP and my web server is obviously serving the home page of giochinternet.com even when it receives requests for carlfretwell.com and osfreefall.com.
Is there a method to instruct the web server to not serve requests for which the Host header parameter value is not in the list of his vhosts?
I'm using Nginx as web server, but searching on the Apache website I found Apache also serves the first vhost for all unmatched Host header parameter values.
Thanks in advance