Changes
Title
unchanged
How to install Yii 2 advanced on a shared hosting environment
Category
unchanged
How-tos
Yii version
unchanged
2.0
Tags
unchanged
advanced,yii 2 advanced,shared hosting
Content
changed
[...]
Take note that, in this example, I installed Yii 2 advanced on a subdomain (in order not to buy a new domain). But you can install Yii 2 advanced on a domain as well.
How to achieve this? Well, we just need to create a folder on the **/home/myself** directory called, for example, **sites** (or whatever). Then we upload the Yii 2 advanced files on **/home/myself/sites/yii2advanced** (you can give the directory any name you want). Then, using the Godaddy cPanel, we create 2 subdomains:
- yii2advanced.oligalmawebsite.com ---> /home/myself/sites/yii2advanced/frontend/web
- admin.yii2advanced.
oligalmawebsite.com ---> /home/myself/sites/yii2advanced/backend/web
```php
home
├── myself[...]