Question

add webserver to iredmail server same droplet / domain

  • Posted April 22, 2014

I followed the directions for installing iredmail server and it works. http://www.cloudservers.com/how-to-install-iredmail-on-ubuntu-12-04/

http://192.168.1.200/iredadmin/ gets me to administrator Dashboard http://192.168.1.200/mail/ gets me to get open the Webmail Both work

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

My hostname file is mydomain.us My hosts file is 127.0.0.1 mail.mydomain.us mydomane localhost hostname -f mydomain.us

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

nmap mydomainname.us 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

Subscribe
Share

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.

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>