Restart apache2 on Debian 8

2.2k Views Asked by At

I have ISPConfig3 configured on my dedicated server with a created website on it.

When I try to restart my apache2 service with /etc/init.d/apache2 restart or service apache2 restart my website display a 403 error with You don't have permission to access / on this server.

I always access to my website with https (certificate created and generated with ISPConfig).

Sometimes, I restart entirely the server to get again my previous accesses, but it does not work all the time.

I know that I configured access to my IP server to this this page. As my IP serveur is pointing to /var/www, no index.php are in there, so a 403 error is resulting (-Indexes is set in configuration).

Actually, it is as if ISPConfig vhost doesn't work, and my website is redirected to /var/www.

I suspect a port issue, because my ISPConfig is always available and https works.

Do you have any ideas where the problem could be ?

Thanks.

1

There are 1 best solutions below

1
On

If you have -Indexes it means "Do not allow indexing"

the "-" is "Remove this option", remove the - and you would get a directory listing.