How to make sub-domain for testing not google searchable


I am going to create a sub-domain as a testing area for web-pages before they go live… is there a way of preventing this sub-domain from being trawled by google? or of ensuring that there isn’t public access to the pages (I don’t want people accessing material that’s not ready for prime time.)


Sure, just set up a htaccess file that passowrd protects it. Panel > goodies > Htaccess


Also you can put an robots.txt
User-agent: *
Disallow: /


Thanks Mattail and vicm3. That covers both bases.