I am finishing a new project. I have been working local for the last weeks/months. Now I want to begin the first tests on the real server and sql database. I do not want the site to be public yet and I do not want the search engines take the site into account till is ready (that will be soon but I will need a week or two) How should I do that?
I know that for a single page I should put that in the head:
<meta name="robots" content="noindex" />
For an entire site, should I put that line of code on all the pages or there is a better way?