Cf2d6ab2e120b8f29fb734c653f5c743dd948dc3
By:
Zerqz

Running a Apache website, and iRedMail on one droplet issues.

December 14, 2014 2.6k views

Sorry in advance I know this'll probably be a dumb question, but I'm not really sure what to google to find a solution.

Basically I had a website hosted on my droplet with apache and it was working great, I installed the iRedMail software on the Ubuntu 14.10 droplet and the iRedMail webgui overwrights my website, I just don't know how to change the webgui to be on mail.mysite.blah instead of mysite.blah. I do have a MX dns setup but don't know how to change it to point at that.....

1 comment
  • This can be corrected by ensuring that the virtualhost file located in /etc/apache2/sites-enabled/ for your mail service includes the line

    ServerAlias mail.yourdomain.com
    

    and that an appropriate ServerName or ServerAlias is also in place in the configuration file for your main site for your domain and it's www subdomain.

1 Answer

This question was answered by @ryanpq:

This can be corrected by ensuring that the virtualhost file located in /etc/apache2/sites-enabled/ for your mail service includes the line

ServerAlias mail.yourdomain.com

and that an appropriate ServerName or ServerAlias is also in place in the configuration file for your main site for your domain and it's www subdomain.

View the original comment

Have another answer? Share your knowledge.