我如何在只有我可以访问的PHP网站上工作? [关闭]

I would like to start a website on a production server and am clueless on how to make sure people can't access it while it's being designed.

How could I capture emails/display a coming-soon page while I still work on the site live?

Also where could I find resources to learn about creating developmental PHP servers and updating the live site with dev changes?

Thanks in advance,

John

Don't put development code on the live server. Do your development and testing on a machine that is not publicly accessible. The only thing on the public server prior to your launch should be a coming-soon page.

you can use .htpasswd and .htaccess files to redistrict access to authorized users