I'm having problems installing contao.

Extract contao-2.11.4.zip to public_html directory. perform the installation by visiting mydomain.com.

Then I was redirected to mydomain.com / mydomain.com / contao / install.php which produces 404 pages.

Duplication seems to occur, but I do not know why. When I do the installation on localhost, everything is fine. where I went wrong?