Donovan
01-26-2001, 06:55 PM
Hi, I would like apache to listen ONLY to a spcific domain http://www.linuxnewbie.org/ubb/tongue.gifort.
Here is what I have in my httpd:conf:
<VirtualHost www.mydomain.fr:80> (http://www.mydomain.fr:80>)
DocumentRoot /var/www
ServerName servername
</VirtualHost>
This being the virtual server serving my pages.
What should I add in this file so apache will NOT listen to anything else than www.mydomain (http://www.mydomain) on port 80 (for example I don't want it to listen to another domain I have on the server).
Right now, apache listen to everything, every domain.
Thanks,
Donovan
Here is what I have in my httpd:conf:
<VirtualHost www.mydomain.fr:80> (http://www.mydomain.fr:80>)
DocumentRoot /var/www
ServerName servername
</VirtualHost>
This being the virtual server serving my pages.
What should I add in this file so apache will NOT listen to anything else than www.mydomain (http://www.mydomain) on port 80 (for example I don't want it to listen to another domain I have on the server).
Right now, apache listen to everything, every domain.
Thanks,
Donovan