Testing backups

wickedDUDE

New member
Jun 25, 2006
1,054
12
0
Hello,

I'd like to test older versions of my site on a separate server, in order to make sure that CPanel's backups are capturing everything.

What's the best way to make a new site completely invisible to search engines / other people?
 


I'll typically use a IP & port-based vhost (personal preference), then protect the webroot with htpasswd.
 
1. Set up a new sub-domain domain using cpanel.
2. Go to the webroot of your copy wite
3. Create file called .htaccess

In it put:

<limit GET>
order deny,allow
deny from all
allow from 123.456.789.000
</limit>


where 123.456.789.000 is your IP address.