I have a mail server which hosts email for multiple domains and provides webmail services. For each of the domains, an A record (mail.domain-name.com) has been created which points to this server. The server runs the Apache web server. How can I serve a different default web page (like index.html) for each of the host names without configuring virtual hosts ? The idea is to let the users land on a domain specific welcome page which would then give them link to the common web mail interfaces and other services on the server. For example,
http://mail.domain1.com/ should serve index1.html
http://mail.domain2.com/ should serve index2.html
http://mail.domain3.com/ should serve index3.html
and so on where these pages are under the same Document Root.
Thanks.