Problem with Apache2 subdomain

Asked

Viewed 57 times

0

I need to configure Debian Linux apache for my subdomain. I have already restarted the Apache server. The subdomain is configured to server IP type A record.

Arquivo: /etc/apache2/sites-available/lolo.conf
diretorio: projetos ( estão todos os arquivos de subdominio)
<VirtualHost *>
ServerAdmin [email protected]
DocumentRoot /var/www/html/projetos
ServerName projetos.meudominio.com
ServerAlias *.projetos.meudominio.com
ErrorLog /var/log/apache2/-error.log
CustomLog /var/log/apache2/projetos-access.log combined
</VirtualHost> 

The domain works perfectly. I don’t know what to do.

  • The config is apparently correct. You can execute the command apache2ctl configtest and post the result, please?

  • Bruno Coimbra - sorry for the delay in answering and thanks for the concern! Server is already off the air. Thanks msm so, thanks!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.