htaccess allow IP addresses
If your website is under construction, you can simply edit .htaccess file to disallow visits to your website. Here is the code :
<Limit GET POST PUT> order deny,allow deny from all allow from 188.8.131.52 </Limit>
allow from 184.108.40.206 command allows access to your server only from 220.127.116.11 IP address.
You can allow more IP’s to access your website :
<Limit GET POST PUT>
deny from all
allow from 18.104.22.168
allow from 22.214.171.124
This practice is good in case you are modifying your website (performing a new joomla installation) and don’t want others to see the process.
Original source: http://htaccessfile.com/htaccess-allow-ip-addresses