1

Topic: use nginx also for Homepage?

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

0.9.2
Debian 8.0 minimal
MySQL
Nginx
no

Hi,

i would like to know, if it is possible to use the nginx also for my own homepage simultanously and also if it is possible, how to do that.
At this moment going to example.de is redirected to roundcube, but i want there an other page, so only mail.example would go to roundcube.

Greetings
Daniel

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: use nginx also for Homepage?

iRedMail generates /var/www/html/index.html during installation, it will redirect 'http://[your_server]/' to 'httpS://[your_server]/mail', so you can simply remove this file, and copy your web site to /var/www/html.

If you prefer to host in a virtual host, please create a new virtual host in /etc/nginx/conf.d/.

3

Re: use nginx also for Homepage?

hm, i looked in there, i just have the normal nginx index.html inside, is the redirect maybe because of an virtual host? where do i redefine them?

4

Re: use nginx also for Homepage?

You can remove this index.html file (generated by iRedMail), then upload the web pages of your home page.