Prevent website from showing up on Google?

I am designing a website for someone. It’s on my server under with a string (if that’s the correct term), under my Domain Name. However, it is not showing up on Google and we don’t want that yet.

Is there a way to prevent the spider’s and robots from picking up this person’s website? I am using his name on for the folder name. I will have to change that. Anything else?
Thanks

You can use a robots.txt file for this.

  1. Create a robots text file and add the following code:
User-agent: *
Disallow: /


The first line translates as: User-agent: any robot

The second line reads: Disallow all directories that come after http://mysite.com/ from being targeted by robots.

  1. Place the robots.txt file in the top level of your webserver.

Thank you! Can you explain what you mean by "top level of my webserver?
Thanks

I mean your root directory, sorry.

Are you a website developer or do you just do design? If you’re developing sites, it might be a good idea to familiarise yourself with the different directory structures on web servers.

I’m primarily a designer. However, I want to be a developer.
I will start reading about the directory structures. Thanks.

No worries, I was in the same boat but over the years had no choice but to pick this stuff up. Lot’s of stuff about URLs too.

The robots.txt and .htaccess files come in handy at times like this!