Report this

What is the reason for this report?

Trying To Add A Mail Server Broke My Site...

Posted on March 5, 2014

Well it was really me, but I have no idea what happened… Here’s the TL;DR

I did everything properly according to https://www.digitalocean.com/community/articles/how-to-set-up-a-postfix-e-mail-server-with-dovecot

However this broke a lot. anytime I type my web URL it redirects to /mail and if I try x.com/index.html it automatically goes to /mail, which isn’t there and I cannot seem to find anything wrong in the apache2 config.d. I also tried adding .htaccess files and the same error still.

If I try to access a page that uses cgi-bin I get an authentication required popup, it says it requires authentication.

I just want a nice simple solution for email, and this really blew up.



This textbox defaults to using Markdown to format your 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.

I believe that’s caused by iRedMail. Check for a file called “index.html” in /var/www.

Edit: Removing that rogue file fixed all errors. THANK YOU

So now that this is fixed…Is there a simple turn key solution for email? I just need one email address that can access non-local emails. Thanks in advance…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.