Use robots.txt to block search engines ...
But!
You need to think about creating your site away from the real domain. When you start living, how are you going to develop improvements to your site? Now you need a development environment.
In addition, you can create your external links and search engine rankings before posting your website live. Preventing your Google site from being indexed until you go live will stop this.
I would suggest placing a landing page in your main domain, using a messaging service that reflects the purpose of your site, and the possibility of possibly “registering interest” on the site. This will allow you to get your domain name.
The launch of a new website will almost always happen with loud silence. Getting your domain rankings before launch is a very rewarding activity.
source share