Want to open webpage on remote server ends up in localhost

Hi folks,

Im still new in many regards and hope someone can help me with my problem.

I programmed a web page on my localhost with the advanced template of yii2. On localhost it is running quiet ok. When I copy the whole content to a remote server and try to open it up, I land on my localhost again.
Is there a config file I have to adapt?

Best regards