add webserver to iredmail server same droplet / domain

I followed the directions for installing iredmail server and it works. gets me to administrator Dashboard gets me to get open the Webmail Both work

When I try to go to http:/myipadres: 80 it jumps to

My hostname file is My hosts file is mydomane localhost hostname -f

How can I make the http: service work correctly also to show index.html in var/www

nmap Host is up (0.000018s latency). Not shown: 990 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http 110/tcp open pop3 143/tcp open imap 443/tcp open https
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
6001/tcp open X11:1

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The iRedMail installer installs an index.html file to /var/www/index.html that automatically redirects to /mail: <br> <br><pre> <br><html> <br> <head> <br> <meta HTTP-EQUIV=“REFRESH” content=“0; url=/mail/”> <br> </head> <br></html> <br></pre> <br> <br>Remove the meta line, and it will no longer redirect. <br>