I am is going to be hosting a wordpress site on the live server. But it will likely be in test phase for while. How do i tell the robots to not index the website till then?

Stick a "disallow everything" robots.txt file in (having a relatively short expires header) and edit it when you're ready for indexing.

Use [cde] to disallow, then allow once your site goes live.

If you work with WordPress 3.x, you can embark upon the admin page towards the robots.txt menu, then click Settings. There's a choice there to bar robots.

Disable your Feed, too, as Google uses RSS for indexing. Use WordPress › Absolute Privacy « WordPress Plugins or use within functions.php: