i had this problem before.
The solution i found is this
https://www.example.com/index.html this is your old website’s index
if you installed wordpress and you want to see the updates on the road:
1. in the wp admin go to permalinks and set the COMMON SETTINGS to Day and name
2. go to https://www.example.com/index.php/index.php
3. you should see your wp
4. you can password-protect your theme directory
5. thats all!
note: your host provider should have the following file herarchy:
1. html, htm
2. php, asp, aspx etc