Difference between #37 and #38 of
How to install Yii 2 advanced on a shared hosting environment

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
[...]
3 0
2 followers
Viewed: 35 873 times
Version: 2.0
Category: How-tos
Written by: oligalma
Last updated by: oligalma
Created on: Oct 25, 2015
Last updated: 5 years ago
Update Article

Revisions

View all history