Apache issue

Having issues with your DietPi installation, or, found a bug? Post it here.

Apache issue

Postby dietpiOK » Wed Sep 13, 2017 6: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: 32
Joined: Thu Mar 16, 2017 8:33 am

Re: Apache issue

Postby dietpiOK » Thu Sep 14, 2017 9: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.
dietpiOK
 
Posts: 32
Joined: Thu Mar 16, 2017 8:33 am


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot] and 2 guests