Chú ý khi cấu hình tên miền trên host thì chúng ta phải bật tác dụng nó lên
a2ensite test.conf
etc\apache2\sites-available\test.conf
<VirtualHost *:80>
ServerAdmin admin@test.com
ServerName test.com
ServerAlias www.test.com
DocumentRoot /var/www/test
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Last updated
Was this helpful?