Apache issue

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dietpiOK
Posts: 46
Joined: Thu Mar 16, 2017 8:33 am

Apache issue

Post by dietpiOK » Wed Sep 13, 2017 7:46 pm

Hi,
I had to resetup my raspi "server", including the LAMP stack.
From my previous installation I restored the files from /etc/apache2/sites-available and enabled them.
Now I am facing the issue that I can access the default page by using http://192.168.0.210. But I cannot access any other site where I configured the ServerName parameter, like the following:

ServerName intranet.mydomain.com
ServerAlias raspisv
ServerAdmin none@mydomain.com
DocumentRoot /mnt/nas/raspisv/www/intranet

<Directory /mnt/nas/raspisv/www/intranet/>
order allow,deny
Options All
AllowOverride All
Require all granted
allow from all
</Directory>

Any idea on how to get that back running? I cannot find any misconfiguration hint in any apache log from /var/log/apache2.

Thanks in advance and best regards,
Olaf

dietpiOK
Posts: 46
Joined: Thu Mar 16, 2017 8:33 am

Re: Apache issue

Post by dietpiOK » Thu Sep 14, 2017 10:32 am

Found the reason: My router (FritzBox) obviously did not redirect the traffic. So reconfigured the port redirection in the router and now everything works as expected.

Post Reply