Making website accessible only from certain IP addresses
Follow the steps below to make a website reachable only from IP addresses 22.214.171.124 and 126.96.36.199 and unreachable from all others.
- Log in to My Hosting
- Click on ‘Diensten’
- Click on the appropriate subscription
- Click the “Login to the Plesk control panel” button.
- Click on ‘File Management’ under the appropriate website
- Open the .htaccess file
At the top of the the opened file, place the following lines and then save the changes.
Order Deny,Allow Deny from all Allow from 188.8.131.52 Allow from 184.108.40.206