Apache defaults to random vhost when mail.domain.com is accessed? Please Help...

Hi all,

Okay, here is my problem:

I have a server with many virtual hosts on it. The problem is that my dns setup points each www.domain.com, ftp.domain.com and mail.domain.com to the servers main ip address and when someone types them into the browser the ftp and mail resolves to the server apache tryes to proccess them. Apache will not find a virtualhost for them and then just picks one and shows that.

How can i tell apache to not serve the mail.domain.com and ftp.domain.com if it doesnt have a virtualhost?

Any suggestions are welcome.

 

 

 

 

Top