yii2:如何将我的应用程序部署到实时服务器?

I just copied all my files which are working ok on localhost to my server here.

Here I receive a 403:

Forbidden - Access to this resource on the server is denied!

I believe this is due to the fact that I have deployed the application as local application. I cannot find information about changing main and main-local config files.
Both of these files are the same ones that come with the advanced application.
What is it I am doing wrong?