Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Site & Server Administration
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


How to block traffic from a domain?

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 07-02-2007, 01:27
booster20002005
Senior Member

booster20002005's Avatar

Join Date: Jul 2007
Location: India
Posts: 209
Trader Rating: (0)
Points: 56 (Donate)
5 F$/Referral Refer Friends
booster20002005 is on a distinguished road
Default Re: How to block traffic from a domain?

Thanks for all the information, I have been waiting a long time for this information.
booster20002005 is offline
Reply With Quote
  #12  
Old 07-02-2007, 18:22
Fernis
Member

Fernis's Avatar

Join Date: Jun 2007
Posts: 38
Trader Rating: (0)
Points: 29 (Donate)
5 F$/Referral Refer Friends
Fernis is on a distinguished road
Thumbs up Re: How to block traffic from a domain?

Create a file call .htaccess (don't forget the .) and place in the root of your public web directory, which is normally public_html.

Add this text to the .htaccess file in order to block certain or blocks of IPs. Below is an example of this.


deny from 209.51.151.180
deny from 202.6.96.


the first denies from that specific IP and the second denies from that entire Ip scheme, which is pretty broad. A * can also be used as a wild card in place of the numbers. Go ahead ad add the Ip addresses you want to ban from your site in place of the ones I listed. Just be careful not to add your IP or you will ban yourself.
__________________
Owner/President
Booyah! Web Hosting
Great Personal Service
Experience the Booyah! Difference
Fernis is offline
Reply With Quote
  #13  
Old 07-05-2007, 07:06
noel
Junior Member


Join Date: Jul 2007
Posts: 10
Trader Rating: (0)
Points: 10 (Donate)
5 F$/Referral Refer Friends
noel is on a distinguished road
Default Re: How to block traffic from a domain?

Why do you want to do that? Isit not good if your domain is getting traffic and attention..?
__________________
Space Time Software Free
noel is offline
Reply With Quote
  #14  
Old 07-05-2007, 12:03
Fernis
Member

Fernis's Avatar

Join Date: Jun 2007
Posts: 38
Trader Rating: (0)
Points: 29 (Donate)
5 F$/Referral Refer Friends
Fernis is on a distinguished road
Default Re: How to block traffic from a domain?

Not all traffic and attention is good.
__________________
Owner/President
Booyah! Web Hosting
Great Personal Service
Experience the Booyah! Difference
Fernis is offline
Reply With Quote
  #15  
Old 07-06-2007, 10:36
me4you
Junior Member


Join Date: Jul 2007
Posts: 12
Trader Rating: (0)
Points: 10 (Donate)
5 F$/Referral Refer Friends
me4you is on a distinguished road
Smile Re: How to block traffic from a domain?

Quote:
Originally Posted by booster20002005
Thanks for all the information, I have been waiting a long time for this information.

people need Traffic but why you need the block traffic ? really i dont undestand would u know me a destails.
__________________
this is mine ! www.website4you.info
very powerful www.proxymeet.info !
i am also www.joomlaexpert.info
me4you is offline
Reply With Quote
  #16  
Old 07-10-2007, 14:00
RiTu
Junior Member


Join Date: Jul 2007
Posts: 10
Trader Rating: (0)
Points: 10 (Donate)
5 F$/Referral Refer Friends
RiTu is on a distinguished road
Default Re: How to block traffic from a domain?

Use .htaccess
RiTu is offline
Reply With Quote
  #17  
Old 07-15-2007, 00:29
Positive
Senior Member

Positive's Avatar

Join Date: Mar 2005
Posts: 2,467
Trader Rating: (3)
Points: 131 (Donate)
5 F$/Referral Refer Friends
Positive is on a distinguished road
Default Re: How to block traffic from a domain?

Quote:
Originally Posted by me4you
people need Traffic but why you need the block traffic ? really i dont undestand would u know me a destails.

Because sometimes the quality is not great. For example: If most traffic is non-human (robotic) then it has no use for you. Thats why people block specific traffic.
Positive is offline
Reply With Quote
  #18  
Old 07-26-2007, 14:17
puffin
Senior Member

puffin's Avatar

Join Date: Nov 2006
Posts: 686
Trader Rating: (0)
Points: 23 (Donate)
5 F$/Referral Refer Friends
puffin is on a distinguished road
Default Re: How to block traffic from a domain?

Quote:
Originally Posted by me4you
people need Traffic but why you need the block traffic ? really i dont undestand would u know me a destails.

Lets say you are a Adsense Publisher, and your site receive Auto surf or robot traffic from another domain. if you couldn't stop this you get ban from adsense. So there are times you need these things.
puffin is offline
Reply With Quote
  #19  
Old 08-21-2007, 01:28
Trexhost
Member


Join Date: Aug 2007
Posts: 39
Trader Rating: (0)
Points: 8 (Donate)
5 F$/Referral Refer Friends
Trexhost is on a distinguished road
Default Re: How to block traffic from a domain?

If your using IPtables on your server, do the following via shell
iptables -I INPUT -s XX.XX.XXX.X -j DROP
That would block access from a certain ip. You can also specify a range of ips.
Another method, can be read about here, where you can APF to block certain traffic
Trexhost is offline
Reply With Quote
  #20  
Old 08-29-2007, 08:41
Positive
Senior Member

Positive's Avatar

Join Date: Mar 2005
Posts: 2,467
Trader Rating: (3)
Points: 131 (Donate)
5 F$/Referral Refer Friends
Positive is on a distinguished road
Default Re: How to block traffic from a domain?

Trexhost, you seem a real expert in web hosting. But, I don't have any server, just a simple reseller account. I think the .htaccess way is very easy for newbies or people with less knowledge. Anyways, thanks a lot for mentioning this method
Positive is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing Effective Domain Names admans Domain Name Forum 8 05-27-2008 22:39
Selecting a Quality Domain Name>> Article lovelylovely Domain Name Forum 7 05-19-2008 19:42
Entire portfolio: check 50+ premium domains for sale srisri24 Domain Name Offers And Requests 4 09-01-2007 03:03
A to Z of Domain Name Selection blackwizard Domain Name Forum 0 10-02-2006 09:43
General Domain Related Questions admans Domain Name Forum 1 07-27-2005 23:10

Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3|


All times are GMT -4. The time now is 17:47.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.