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

apache
php

#1

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>.c9.io and http://<workspacename>-<username>.c9.io/admin

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

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

The application is launched on Apache.