Domain Pointer & Alias on all the DNS A record entries

YMTan

Verified User
Joined
Jun 26, 2009
Messages
23
Hi,

I setup an DA user for domain.com and set up alias.com under Domain Pointer as Alias for domain.com.

I found that www.alias.com and alias.com will go to the www.domain.com and domain.com respectively.

But I have also mail.domain.com which leads to the webmail. I realize that in this case mail.alias.com will not work and show "Apache is functioning normally".

I think it is related to the Apache setup.

Anybody can give me some clues? Thank you!
 
This would probably work for me; it may not work for you:

Maintain a separate domain webmail.example.com with it's own IP# and it's own Secure Certificate, and create a redirect so anything going to webmail.example.com get's redirected to https://webmail.example.com/webmail.

Then create a pointer for each domain in the format of webmail.anotherexample.com -> webmail.example.com. Unless I'm missing something this should direct anyone going to webmail.theirdomain.example.com to https://webmail.example.com/webmail using one secure certificate.

Have I missed something?

Jeff
 
Anybody can give me some clues? Thank you!

Did you try this http://help.directadmin.com/item.php?id=92 ? The guide is not working for aliases/pointers, as it seems to me. You might want to revert it back, and add this section:

Code:
<VirtualHost *:80>
  ServerName mail.*
  DocumentRoot /var/www/html/squirrelmail
  CustomLog /var/log/httpd/webmail.bytes bytes
  CustomLog /var/log/httpd/webmail.log combined
  ErrorLog /var/log/httpd/webmail.error.log
</VirtualHost>

into /etc/httpd/conf/extra/httpd-includes.conf
 
Back
Top