Disable site
Is it possible to disable a site or account? Like suspending it but just ignoring any request at all. Suspending and unsuspending a site takes some time. I just want any requests to be ignored (as if the domains aren't hosted on this server).
Basically this is to confirm it a specific site/account is responsable for extremely high server load at certain times.
-
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 -
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 -
Thanks Jacob 0
Please sign in to leave a comment.
Comments
3 comments