Please help me to solve the following problem:
I had installed WebTop5 with the “Use a virtual host for WebTop” option, access being done through https://webmail.mydomain.tld.
Due to some problems that occurred when obtaining the Let’s Encrypt SSL certificate, I de-selected the option to use via virtual host, at the same time changing the Public URL to https://mydomain.tld/webtop.
After this change, I can no longer access WebTop from the WAN except through https:/mydomainIP/webtop.
P.S
For Nexcloud I made the same change without problems.
(maybe is expected)
it explicitly forwarded me there even if I input https://gtbs.ro/webtop. webtop.gtbs.ro has no public address, gtbs.ro and www.gtbs.ro have the same ip address.
IMVHO nethserver installation should have public FDQN.
I think you override webtop with your virtualhost because the server domain is used in the vhost. You may try to disable the virtualhost and test if webtop works…
When we used the “Use a virtual host for WebTop” option, as for Nexcloud, we had a DNS registration as webtop.gtbs.ro (cloud.gtbs.ro).
Without these options, those records are no longer needed.
In /var/lib/nethserver/vhost I only have gtbs.ro (wordpress) and support.gtbs.ro (OsTicket).
host-gtbs.gtbs.ro is the name of the machine on which NethServer is installed.
Please try to disable the wordpress gtbs.ro virtualhost just to test if webtop works afterwards.
Usually the virtualhosts shouldn’t use the server domainname that the other apps are using too.
Also Nextcloud is working but Webtop doesn’t, I don’t really know why.
You could try to reinstall webtop but I don’t think that it can work using the same domain as the wordpress virtualhost.
When I installed webtop for the first time, without using the virtual host option, it worked with gtbs.ro/webtop.
I activated the virtual host option for webtop and it worked very well with webmail.gtbs.ro until I disabled virtual host for webtop.
What would be the best procedure to uninstall webtop completely (webtop, tomcat, postgres) and try to reinstall webtop from scratch?