Create a file named .htaccess in your public_html folder and add the following lines:
+-+-+-+-+-+-+-+-+
order deny,allow
deny from all
allow from IP
allow from IP
allow from IP
+-+-+-+-+-+-+-+-+
Then replace IP with your IP address or IP address from which you want to allow access.
Comments
Add Comment