Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-expand-tabs-free domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/websitedevait/public_html/wp-includes/functions.php on line 6131
How do I block an IP or domain from my Linux fully managed hosting account? | Advanced Internet Technologies

Apache (HTTP) server configurations can restrict access to a web server. The instructions below will tell you how to do so using AIT’s Fully Managed Linux hosting accounts.

Then, here is what to do:

  1. FTP to your server.
  2. Go to the /www/conf directory.
  3. Download the access.conf file in ASCII mode.
  4. Make the base configuration for the directory /www/htdocslook like this:order allow,denyallow from alldeny from ix.netcom.com
  5. That will deny access to your entire site for anyone connecting from a site with a domain ending in “ix.netcom.com”.
  6. Save the file.
  7. Make a backup of your access.conf file (i.e. access.conf.).
  8. Upload the file in ASCII mode.

You can also replace the domain name of ix.netcom.com with an IP address instead. This will block anyone from a specific IP address.