Hi all,
The situation is as follows:-
I have a Debian Woody box (IP 192.168.1.25) on an eircom DSL line.
Currently, port 80 (external) on the Netopia Cayman is mapped to port 80
on the Debian box, which is fine if I want to visit the website at
www.domain.com .
However, I have recently set up a webmail interface, and would like to
use mail.domain.com to point to a different Apache DocumentRoot.
I should point out (in case it's relevant) that reverse DNS is not set
up on this as nobody I've spoken to in eircom seemed to understand what
reverse DNS is.
The current stanza in Apache does not provide the desired result, I hope
someone may be able to assist:-
NameVirtualHost 192.168.1.25:80
<VirtualHost 192.168.1.25:80>
ServerName mail.domain.com
ServerAlias mail.*
ServerAdmin postmaster at domain.com
DocumentRoot /var/www/webmail
</VirtualHost>
Any ideas?
Thanks,
Ruairí
--
I have to think hard to name an interesting man who does not drink.
-- Richard Burton
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!