I can not access my site with www mounted on ubuntu 16.04 with virtualhost

0

for example if I put example.domain.com if it manages to load the site, but if I put www.example.domain.com it gives me the following error

Forbidden
You don't have permission to access / on this server.

In the virtual host file I have the following:

The server is mounted on ubuntu 16.04

ServerAdmin [email protected]
ServerName  ejemplo.dominio.com
ServerAlias www.ejemplo.dominio.com
DocumentRoot /var/www/ejemplo.dominio.com/public_html/

<Directory /var/www/ejemplo.dominio.com/public_html/>
        Require all granted
         AllowOverride All
</Directory>
    
asked by Miguel Angel Moreno 07.08.2018 в 19:32
source

0 answers