Report this

What is the reason for this report?

How to stop iRedmail from directing main domain

Posted on December 10, 2020

Droplet with ubuntu 18.04 Software in droplet 1-odoo 11 2-iRedmail 3.1.2 P.S: Domain added to the droplet (Both software working and stable) Issues: 1-when accessing (http://example.com) iRedmail directs to (https://example.com/mail) How can fix it 2-How to direct odoo to the main domain name without the 8069 port without effecting other software and SSL (iRedmail+Fw, Nginx, Apache) Extra: edited odoo port to 80 via /etic/odoo/config.py



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.

Heya,

You can edit the virtual host for the domain name and alter the server_name entry for example.com and make sure it’s not listed as example.com/mail

Then test Nginx configuration.

  1. sudo nginx -t

If the test is successful, reload Nginx for the changes to take effect.

  1. sudo systemctl reload nginx

Hope that this helps!

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.