How to restrict access to your website with .htaccess

Development | Web Development
.htaccess is a configuration file used by the Apache web server. .htaccess rules override global settings for the directory in which the file is placed. You may find that .htaccess files are created automatically on your server, when you install popular web applications like WordPress, Drupal and Magento. However, if one does not exist, it can be easily created in a text editor and uploaded to your server. 
No attachments
order deny,allow
allow from #Your Public IPv4 for example
deny from all
Your IP address can be found here - https://www.whatismyip.com/.

on November 05th, 2018 (9:29 pm)
All coments
This job has not been commented yet.