My cPanel only allows me to choose my main directory 1 sublevel from the root directory. My application index however is 4 sub-directories from the root directory:
cPanel allowable
/root_directory/ApplicationName/index.php
My index.php
/root_directory/ApplicationName/Directory1/www/index.php
I tried adding another index.php in the ApplicationName directory, and included my index.php to it. But it seems that it corrupted my configuration, and now I cant run the application(I dont know why, but my doubts is that the yii webapp command needs to be run again?).
What should I do to make my site run? I dont know how to run the yii webapp command from the cPanel, plus I have no clue on how to redirect my index.php without damaging the configuration for yii.