View Full Version : How do i block ip?
badboyz
06-13-2007, 11:17 PM
how do i block ip adress on a dedicated server?
Dominic
06-14-2007, 12:12 AM
You could do it with cPanel.
badboyz
06-14-2007, 12:17 AM
i dunt see any option there.
im on linux
Dominic
06-14-2007, 12:21 AM
Go to cPanel and find IP Deny Manager, don't see it? No worries. Use .htaccess and add this
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from xxxxxxxxxxxxx
replace the x's with the IP then to add another ip simply go to the next line and do the same concept, deny from xxxxxxxxxxxxxx
badboyz
06-14-2007, 12:24 AM
.htaccess its in the ftp ya?
Dominic
06-14-2007, 12:24 AM
yes, if not then simply create it. and make sure you put that in the public_html folder.
badboyz
06-14-2007, 12:38 AM
k thx lemme try
how do i add more ips?
do i need ro add the deny ip from link each time?
Dismounted
06-14-2007, 06:44 AM
Yes.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.