Keep Your Website Hidden While Testing

This is a little trick I use a lot.

Quite often I am working on a website for a client that has an admin area. I like to give access to the admin area while I am still working on the front end design. This way the client can start adding products/content/whatever while I am building the actual website.

But of course, you don’t want the client to see your half-finished front end design. So get your IP address (if you don’t know how just visit http://www.whatismyip.com/) and add the following into your .htaccess file:

order deny,allow
deny from all
allow from 80.xxx.xxx.xxx

Where 80.xxx.xxx.xxx is your IP address. This will give a 403 forbidden to anyone accessing the site with anything other than that IP address. If you have multiple people working on the site simply add another line:

order deny,allow
deny from all
allow from 80.xxx.xxx.xxx
allow from 82.xxx.xxx.xxx

Keep in mind this method isn’t completely secure as IP addresses can be spoofed. However, for a quick and simple way of keeping a nosey client out you might find this ideal.

Are you a Developer, Designer or Copy Writer? Or Looking For One?

Click here to see 100s of jobs updated every day that you can complete to earn good money. Also find that programmer, designer or copy writer you have been looking for - advertise and get the best guy for your job - click here to find out more

Leave a Reply

Make $100,000/Month - Every Month!

It Works! We Make Our Customers Millionaires! Act now and get $600 bonus and a Free Money Making Website! - click to get started