I have a little problem here and have been trying to solve it for many days.
I have a Nethserver (Server A) which is used for mail, web, nextcloud, SOGO + reverse proxy. On Server B, which is running Ubuntu Server, I designed a new version of the website hosted by Server A. Now, I would like to make that live. The problems starts here.
Try 1: I tried to use Nginx Proxy Manager to point mydomain.com, www.mydomain.com to the local address of Server B. That didn’t work out quite well because I use SOGO and ActiveSync, so because it didn’t have access to port 80, SOGO wasn’t working, so all the iOS clients couldn’t connect to the mail server. Tried many things to make SOGO alive but no luck there. Also, the whole new site was broken. Maybe the links were, I don’t know. Abandoned.
Try 2: I tried to migrate the new site from Server B to Server A but I literally broke the old site because nearly everything was a lot newer on Server B than Server A. (mysql, php, wordpress etc…) Glad I made a backup. Abandoned.
Try 3: Last night, I reversed everything and turned off Nginx proxy manager, so Nethserver controls everything. For mail server, I use mail.mydomain.com. I would like to forward mydomain.com to Server B but I can’t because I can’t turn off Nethserver’s default virtualhost. Using only http, I can access Server B but with https, I can’t. Server A’s site comes up.
I’m really getting out of ideas and I’m standing with a broken website and a new one only accessible on the local network.
Please, give me any, any ideas to make this thing alive!
Thank you for reading and in advance for any help!!