I have already made the necessary configuration prior to the installation:
Set DNS records (A & MX records)
Set FQDN with setting the ‘/etc/hosts’ file as My_IP_Address mail.MyWebsite.com mail
Allowed UFW ports 25, 587, 465
etc., etc…
Then when I try to go to the login pages for iRedMail & RoundCube, I get nothing but a ‘502 bad gateway’ error page.
I thought that iRedMail says to NOT install anything prior to running their installation. I know that their installation is supposed to be a on ‘fresh OS’.
Why doesn’t the installation lead me to a working page? What else could I be missing? Am I still supposed to set up my own NGINX Server Blocks and enable sites on this subdomain?
Any support is appreciated.
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!
Hi @AaronEsteban1,
In order to get more information about the actual problem, I would suggest checking the Nginx error log, that way you would be able to see what actually is wrong rather than the generic 502 error.
To do that you can run the following command:
- sudo tail -100 /var/log/nginx/error.log
Also, can you share the installer command that you ran initially?
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.