Question

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

  • Posted December 14, 2014

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…

Subscribe
Share

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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