I need to do some maintenance work to my blog, which is under http://blog.ricardoamaral.net and I'm looking for the best way to protect all outside access, but my own, to that subdomain. So I can work peacefully without people seeing what I'm doing.
I thought uf using an .htaccess file and deny every one access but my own IP but this presents a problem. I'm on a dynamic IP ISP and I would be needing to keep changing my IP on the .htaccess file, which is a pain.
Does anyone have any other suggestions?
Would password protection work for you? Add this to the .htaccess file
Then to add users to the password file:
Put a password on that part of the site. Use simple http authentication through Apache. Any application behind it, unless it also uses http authentication, will just do its own thing.