Hi All,
I need your help because have a problem with virtual host module, that I can’t solve.
A time ago, I had created a virtual host for a website. I have used it for many mounts and when I did not need it anymore, I blocked access only to the local network.
Today, after time, I tried to access the site home from the network but I can’t reach it.
I set the access from the public network, but even so, I can’t see the pages of the site.
I only see the apache test page.
I don’t know if it’s a problem that depends only on the virtual host module or even the DNS.
Even at other times I had problems with the dns, this time the restart of the service did not solve the problem.
Hi Markus,
from both commands it appears that virtual host is active.
Now i have setting that virtualhost have public access but i can’t view the site. Only see Apache test page.
If DNS does not work, how can subdomain.domain.tld be resolved? Do you use a proxy server?
Does nslookup subdomain.domain.tld work?
Is subdomain.domain.tld your virtual host name? Because you have to use the correct virtual host name to get the virtualhost pages. And yourvirtualhost.com has to be resolved correctly to the IP of your Nethserver.
The DNS used for the subdomain is external and is the DNS of the university network.
In this DNS, subdomain.domain.tld is registered and points to the IP (red) address of the nethserver hosting it in the virtual host.
If I type subdomain.domain.tld the external DNS resolves and reaches nethserver but does not display the site in WordPress. The virtual host in nethserver is set as public.