Skip to main content

Disable site

Comments

3 comments

  • JacobPerkins
    Hiya, Back in my SysAdmin days, to quickly kill a site, we would 'chmod 0 /home/$user/public_html', and all requests to that site would then 403. 403 isn't the best return codes to use, but it worked in a pinch.
    0
  • NOC_Serverpoint
    Hi, You can create .htaccess file and paste the following code. Allowing single IP address access ------ order deny,allow deny from all allow from 'ip address' ----- Only this authorised IP will be allowed to access the website.
    0
  • PatrickVeenstra
    Thanks Jacob
    0

Please sign in to leave a comment.