Welcome! Log In Create A New Profile

Advanced

Installed nginx with iredmail;how to add web content & test without DNS change

April 28, 2015 08:17PM
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.
Subject Author Posted

Installed nginx with iredmail;how to add web content & test without DNS change

gariac April 28, 2015 08:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready