Google doesnt automatically know that your website is live the minute you make it live. In fact it could take up to 6 months for Google to find it and index it.
You can help speed up this process up by submitting your site to Google for consideration.
Help With SEO (Search Engine Optimisation)