How do i set up a virtual host for my YII2 advanced PHP application in Cloud9?



I am using the Yii2 advanced template. It has separate two apps: frontend and backend that i want to be accessed via http://<workspacename>-<username> and http://<workspacename>-<username>

Or how create subdomain http://admin.<workspacename>-<username>

how do i go about setting those paths without breaking the host.

The application is launched on Apache.