I have an existing website at a hosting service. I have contracted with a
virtual server company and have installed iredmail, which in turn installs
nginx, [Oddly, Appache2 as well, though probably not relevant.] 

Since I have an ip address for the server, I am able to test the email
service. [Only email to accounts on the server since the MX record still
goes to the old hosting company,] Iredmail has a web based mail manager, so
it has associated html code. 

Iredmail puts its html in /var/www.  I put a test page in /var/www2 and
added a location line to point to it, but I'm confused on how to set this up
since it is like hosting two websites at the same IP address. Obviously I
need to test the server before changing the DNS. 

I'm thinking maybe do something in /etc/hosts. Or do I just try to merge the
html from iredmail with my own html? That is change the index.html from
iredmail to mail.html?

One additional complication may be that iredmail requires https while my
html does not.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,258470,258470#msg-258470

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to