Yii2 Advanced installation

Dear Yii2 coders!

Is it possible to organize Yii2 Advanced version urls like: frontend part - mydomen.com, backend part - mydomen.com/admin wihout having access to server config file? Or is it necessarily to have VPS hosting for this??

Many thanks in advance! I will highly appreciate any help!

http://www.yiiframework.com/doc-2.0/guide-tutorial-shared-hosting.html

Ok, but how to adjust the paths in index.php and index-test.php for front and backend parts? In case of this hierarchy:


www

    admin

backend

common

console

environments

frontend

...