add webserver to iredmail server same droplet / domain

April 22, 2014 4.1k views
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
1 Answer
The iRedMail installer installs an index.html file to /var/www/index.html that automatically redirects to /mail:

<meta HTTP-EQUIV="REFRESH" content="0; url=/mail/">

Remove the meta line, and it will no longer redirect.
Have another answer? Share your knowledge.