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

Confirm Submission

Please enter the text from the image in the box provided; this helps us to prevent spam.