htaccess Tags

Restrict access to a website to only certain IP Addresses

When building a new website there is a number of ways in which you can allow the user to see the site before launch. The way in which I tend to prefer is once the site is live give the client the a record and request them to change there host file so they can get to the site. However not all people have the ability to change there host file. My fallback process is get the user IP Address and add it to htaccess file.

Restrict access to a website to only certain IP Addresses