Installed nginx with iredmail; how to add web content & test without DNS change
tfransosi at gmail.com
Wed Apr 29 01:47:31 UTC 2015
On Tue, Apr 28, 2015 at 9:17 PM, gariac <nginx-forum at nginx.us> wrote:
> 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.
How is nginx configured? Could you post it here? It might be easier to
understand what is going on looking at it.
Also, what is the difficult are you having? With the nginx
configuration or the iredmail? I don't know about the later though.
More information about the nginx