I have a NS as a frontend firewall and accepting mydomain.de in the Webserver.
Now I want have ns2.mydomain.de point to a secondary internal NS server with IP 192.168.42.20 which hosts a webtop instance and owncloud but I am not successful.
The reason is, that I want to have several application Nethservers for different subdomains and I want to separate firewall from applications servers.
Reverse-proxy-rule ns2.mydomain.de -> https://192.168.42.20
Accessing https://ns2.mydomain.de from the outside displayed the NS2-Welcome page, but https://ns2.mydomain.de/webtop gives an error “Service Unavailable”
https://ns2.mydomain.de/nextcloud gives error “Access from untrusted domain”
Reverse-proxy-rule ns2.mydomain.de -> https://192.168.42.20/webtop
Accessing https://ns2.mydomain.de gives login screen from webtop but nextcloud cannot be accessed because there is no path, which can be specified
Port forwarding 2443 to ns2:443
https://ns2.mydomain.de:2443 works and gives nethserver login screen
https://ns2.mydomain.de:2443/webtop works and gives webtop login screen
https://ns2.mydomain.de:2443/nextcloud gives error “Access from untrusted domain”
How so solve this problem? The goal is to have variant 1 working.