Answer the question
In order to leave comments, you need to log in
How to set up yii2 hosting (beginner)?
Unpacked yii2 to the public_html folder on the server.
The test welcome page opens at:
kanistherapyspb.ru/web - works correctly
How to set the page address so that the application does not open from the web/ or basik/web/ path, but starts immediately from the site root, at the main address kanistherapyspb.ru
Setting up the connection :
kanistherapyspb.ru/requirements.php
Answer the question
In order to leave comments, you need to log in
put all folders above public_html
and move the contents of the web folder to public_html
As I understand it, you have chosen virtual hosting on beget.ru. It is better to ask the technical support of your hoster.
For example, in jino.ru, for each domain, you can specify a home directory in the Domains section .
It seems to me that each hoster is configured differently.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question