The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can i find a websites IP & Block his IP

Discussion in 'Security' started by max101, Aug 1, 2015.

  1. max101

    max101 Member

    Joined:
    Aug 1, 2015
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    I am having a problem lately. Maybe someone can give me some advice.

    I run my own little forum. Recently i typed the name of my forum and on the 10th page or so i found a copy of my forum on another domain.

    They must be using some sort of special scipt to duplicate my forum. If i make changes on my forum it automatically changes it on theirs. But you can't log into the forum from their domain.

    They put a bunch of ads on their forum. They must be doing it to get clicks on the ads.

    Should i ignore it? Or should i block their websites IP address so their server can't scan my domain. I think i would be using my bandwidith and slow down my server?


    I tried to block their ip address using .htaccess but it doesn't seem to be working.


    Here is an example.

    mycoolcarforum.com


    and they are using a subdomain.

    mycoolcarforum.theirdomain.biz
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi :),

    If you have root access to your web server, then block their site's IP from the firewall directly. You can find their site's IP using command prompt on your machine as below:
    > ping mycoolcarforum.theirdomain.biz

    Other way round, you have to find out their host or registrar and file a Copyright complaint against them to shut down their website.
     
  3. sarhosting

    sarhosting Well-Known Member

    Joined:
    Oct 1, 2007
    Messages:
    164
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Twitter:
    It is possible that they are using your A records so basically, that site becomes an alias of you site.
    All it takes is a typo when updating the records or they did it on purpose.
    To prevent Google from indexing them, use the canonical links on our forum.
    As a last resort, put this in your .htaccess file. (BE SURE TO BACK IT UP FIRST!)

    Code:
    # If the hostname is NOT www.mycoolcarforum.com
    # 301 redirect to the same resource on www.mycoolcarforum.com
    #
    # If the hostname IS www.mycoolcarforum.com
    # Show the resource on www.mycoolcarforum.com
    #
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.mycoolcarforum\.com$
    RewriteRule (.*) http://www.mycoolcarforum.com/$1 [L,R=301]
    Blocking the IP address may help but if they have access to more IP's they will go ahead and change it on you.
    You may want to add tracking to your forum's template so you can tell if other sites are doing it or use CopyScape.
     
    #3 sarhosting, Aug 2, 2015
    Last edited: Aug 2, 2015
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, the suggestions in the previous replies should help. You can also try blocking the IP address of the website instead of the domain name if you prefer to use the .htaccess file to deny access.

    Thank you.
     
Loading...

Share This Page