Wednesday, 30 July 2014

Apache Create Subdomain Yii2 Advanced template

  1. Edit httpd.conf
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/html/frontend/web
</VirtualHost> 
<VirtualHost *:80>
ServerName admin.example.com
DocumentRoot /var/www/html/backend/web
</VirtualHost>

No comments:

Post a Comment