how to prevent Forbidden You don't have permission to access / on this server. code example Example: You don't have permission to access this resource. $ sudo systemctl restart apache2