1

Topic: change url to different servers

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? yes
- Linux/BSD distribution name and version: ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi
I am not that expert with nginx and I can't figure out how to make the changes I want I hope you can help me.

I would like to change the URLs to access different services to be the like this:

SOGo: mail.mydomain.com\
admin: iredadmin.mydomail.com\

can you please help me with this?

2

Re: change url to different servers

- For SOGo, seems we can not avoid the "/SOGo" url. I didn't make it work, better post to SOGo mailing list to get help.
- For the admin, you can create a new nginx virtual web host, and loads the snippet /etc/nginx/templates/iredadmin-subdomain.tmpl.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee