Click on the “File Directory” to access the file database for your website.
Step 3
Click on the “Root” directory.
Step 4
Select the option to create a “New File” within the root directory. Name the new file “.htaccess” without the quote marks.
Step 5
Enter the following three lines of code onto the .htaccess page. Be sure to replace the 169 IP address that is used in the code below with the actual IP address you desire to block.
order allow,deny
deny from 169.254.254.354
allow from all
Step 6
Enter as many IP addresses as you like. Enter the information for each IP address on a separate line. See the following code for an example of blocking multiple IP’s.
order allow,deny
deny from 169.254.254.354
deny from 169.254.254.222
deny from 192.168.5.333
deny from 192.169.555.444
allow from all
yakimeshi 2:43 pm on December 14, 2009
Step 1
Log into the control panel of your website.
Step 2
Click on the “File Directory” to access the file database for your website.
Step 3
Click on the “Root” directory.
Step 4
Select the option to create a “New File” within the root directory. Name the new file “.htaccess” without the quote marks.
Step 5
Enter the following three lines of code onto the .htaccess page. Be sure to replace the 169 IP address that is used in the code below with the actual IP address you desire to block.
order allow,deny
deny from 169.254.254.354
allow from all
Step 6
Enter as many IP addresses as you like. Enter the information for each IP address on a separate line. See the following code for an example of blocking multiple IP’s.
order allow,deny
deny from 169.254.254.354
deny from 169.254.254.222
deny from 192.168.5.333
deny from 192.169.555.444
allow from all
Step 7
Click on “Save.”
http://www.ehow.com/how_5711389_ban-ip-address-website.html