I made an Apache configuration on Digital Ocean, except that the domain only works without www
. Below is my configuration:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName dominio.com
ServerAlias www.dominio.com *.dominio.com
DocumentRoot /var/www/dominio
ErrorLog ${APACHE_LOG_DIR}/error_dominio.log
CustomLog ${APACHE_LOG_DIR}/access_dominio.log combined
</VirtualHost>
Can anyone tell me what I'm doing wrong, or do I need some more command?