1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WHM Firewall can i redirect IP?

Discussion in 'Security' started by TheSyndicate, Jan 24, 2012.

  1. #1
    From the WHM firewall settings can i redirect for example a IP to somewhere else? If i do not want this IP to come to my server and i send him to some affiliate page is that possible from the firewall settings?
    SEMrush
     
    TheSyndicate, Jan 24, 2012 IP
    SEMrush
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    You talking about IP forwarding? You could route the IPs with the route command.
     
    SolidShellSecurity, Jan 24, 2012 IP
  3. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,368
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #3
    Sorry noob when it comes to dedicated hosting where do i do that? Will that take server power or slow the server / website down?
     
    TheSyndicate, Jan 24, 2012 IP
  4. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #4
    Actually, the easiest way for you will be to use .htaccess:

    # permanently redirect specific IP request for single page
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REMOTE_HOST} 123\.456\.789
    RewriteRule .* /just-for-you.html [R=301,L]
    Code (markup):
     
    SolidShellSecurity, Jan 25, 2012 IP
  5. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,368
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #5
    I am not that great with those kind of things i was looking for a program
     
    TheSyndicate, Apr 14, 2012 IP