Block a web site domain. How?

Wangel

Banned
Mar 30, 2000
1,491
0
0
I have a web site and my competitor logs onto my web site every hour or so. He is using it as a selling tool. I have heard that there are ways to block a domain from your web site. What is necessary to do this? I guess I could ask Napster, as they appear to be experts in this.
 

Double Trouble

Elite Member
Oct 9, 1999
9,270
103
106
It can be a little tricky. First, you'd find out who your competitor's ISP is. You could then use your firewall/web server software to block a certain range of IP addresses, much like Anandtech doesn't allow people logged in through AOL to post.

It would be hard to block a specific IP address, since your competitor could have a multitude of addresses. Also, if your competitor has multiple ISP's, you'd have to block a lot of IP ranges, and therefore risk not allowing your potential customers to get to your site.
 

Wangel

Banned
Mar 30, 2000
1,491
0
0
Ok, let me be sure I understand. If I used a firewall like Blackice (I think that is the name) and put in his ISP such as test.com, then I could block everything coming from test.com? On my page counter, I can see that he logs in about every hour or more frequent. Do I need to know the numerical number, or is test.com good enough?
 

konichiwa

Lifer
Oct 9, 1999
15,077
2
0
If you go to a comand line and type "ping test.com" it will tell you the numeric number, so that's not really a big deal. You could probably also write a javascript that would see if the IP is XX.XXX.XXX.X and if it is, redirect to another page. That wouldn't be as low-level as using a firewall, and would take longer for each request to be redirected, but it's an option.
 

Double Trouble

Elite Member
Oct 9, 1999
9,270
103
106
ipchains is good :)

Wangel: Basically, what you have to do is tell your firewall software "ignore anything coming from xxx.xxx.xxx.xxx through xxx.xxx.xxx.xxx" (where the xxx.xxx.xxx.xxx's are the IP's used by his ISP). If you ping his ISP like Konichiwa suggested, you'll get something like 123.12.51.123 ... with that IP, you could decide to change the settings in blackice to block anything that comes from 123.12.xxx.xxx (so it blocks anything that starts with 123.12). How specifically you do that depends on your firewall software (it varies from package to package), but it shouldn't be very difficult. The difficult part is that your competitor can always change IP addresses and still get to your site, unless you block a large range of addresses.

Perhaps someone more familiar with Blackice could assist Wangel in changing the settings he needs to do his filtering??
 

THELAIR

Golden Member
Oct 9, 1999
1,493
0
0
are you hosting your web page yourself/

You can set it up so that when ISS detects a connection from that guys IP# you can get a really nasty html message to appear. Like a fake redirection to your competitors page that has been slandered or somthing :) or a fake newspaper article saying that they kill pink bunny rabbits etc...

Sure its probably "illegal" but we all drive over the speed limit for fun every so often right? right?? :D :D
 

Wangel

Banned
Mar 30, 2000
1,491
0
0
Thanks for the info.

I am not hosting the web site myself.

What exactly is ipchains? Is that the whole name of the software? Is it shareware or what? I do have Blackice and will install it this weekend. I suppose that my competitor could change IP addresses, but he is not that computer savey and would not know how.
 

IBhacknU

Diamond Member
Oct 9, 1999
6,855
0
0
If you're not hosting the site yourself... all those above ideas are not going to work.

Only your host can set up the parameters to block various IPs