Loading...

Shared Hosting

Launch your website effortlessly with our high-performance shared hosting. Get industry-leading uptime, robust security, and expert support—all at an unbeatable price point for your online success.

Starting at: $10 / Year

Get Started Now

Blocking IP Addresses Using .htaccess File

If you're experiencing unwanted traffic, spam attacks, or security threats on your website, blocking specific IP addresses through your .htaccess file is an effective solution. This powerful configuration file, used primarily on Apache web servers, allows you to control access to your site at the server level.

To block an IP address, you need to:

  • Access your .htaccess file via FTP or your hosting control panel's file manager
  • Add blocking rules using specific directives
  • Save the file in your website's root directory (usually public_html or www)

Here's the basic syntax for blocking a single IP address:

<IfModule mod_authz_core.c>
  <RequireAll>
    Require not ip 192.168.1.100
  </RequireAll>
</IfModule>

You can also block multiple IP addresses or entire IP ranges:

  • Single IP: Require not ip 192.168.1.100
  • Multiple IPs: Require not ip 192.168.1.100 192.168.1.101
  • IP Range: Require not ip 192.168.1

Important considerations: Always create a backup of your .htaccess file before making changes. Test your changes carefully, as incorrect syntax can make your entire website inaccessible. For WordPress users, consider using security plugins as an alternative method.

Blocking IP addresses via .htaccess provides immediate protection against malicious traffic and helps maintain your website's performance and security. Remember that determined attackers may use multiple IP addresses, so this method works best when combined with other security measures.

Our Hosting Plans

We provide a range of scalable shared hosting solutions designed for blogs, business sites, and online portfolios. Each plan includes essential features to ensure optimal performance.

1GB plan

Ideal for launching a simple personal blog or a small static website to establish your initial online presence.

Starter Package

$10/ Year

1 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

2GB plan

Perfect for growing blogs or small business websites that require more storage and resources.

Growth Plan

$15/ Year

2 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

5GB plan

Suited for dynamic websites, online communities, or small online stores with moderate traffic.

Business Package

$20/ Year

5 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

10GB plan

Excellent for resource-intensive websites, medium-sized online stores, or multimedia-rich portfolios.

Professional Tier

$3/ Month

10 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

20GB plan

Designed for high-traffic business websites, extensive blogs, or e-commerce platforms with many products.

Advanced Solution

$4.5/ Month

20 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

50GB plan

Our most powerful shared hosting plan, built for large enterprises, major online marketplaces, and high-demand applications.

Enterprise Grade

$7.5/ Month

50 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety