Penawaran Terbatas - mulai dari $0.80/bulan
00
HARI
01
JAM
49
MENIT
02
DETIK
Beli Sekarang
×

Pengetahuan Dasar

Temukan artikel terkait fitur, petunjuk penyelesaian masalah,
dan informasi teknis lainnya yang berkaitan dengan layanan hosting Hosting24.

How to block IP using .htaccess file?

Disunting pada:
htaccess country blocked block IP IP block

You may block access to your website from specific IP addresses using .htaccess file.

You need to create this file in your public_html folder and add these example lines:

order allow,deny deny from 127.0.0.1 allow from all 

These lines will block access for all users using 127.0.0.1 IP address. Just change the 127.0.0.1 to the IP you want to block.

You can download the list of each country IPs from following link: https://www.countryipblocks.net/country_selection.php

  • Akses Website Builder
  • Jaminan Uptime 99.9%
  • Live Support 24/7
  • Powerful Control Panel
  • Jaminan Uang Kembali 30 Hari
Penawaran Terbatas!
Mulai dari
$
0
80
/bln
Diskon 90%
Beli sekarang