How to block or redirect cpanel to a 404 page?

Discussion in 'Security' started by shawnecstacy, Sep 22, 2008.

  1. #1
    I want to get a result similar to this page.
    http://www.kontraband.com/cpanel
    It takes you to a file not found page.

    But when I use /cpanel with my site it opens up cpanel asking for id-pass.
    How can we redirect cpanel to any 404 file not found page. Also in that case how can we enter in cpanel when needed.
     
    shawnecstacy, Sep 22, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hi,

    Do you have root access? Remember if you replace /cpanel with :2082 you can access cPanel, i.e.

    http://yourdomain.com:2082/

    Jay
     
    jayshah, Sep 22, 2008 IP
  3. shawnecstacy

    shawnecstacy Peon

    Messages:
    456
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ya I know..
    I want to avoid that too..

    See if you type
    http://www.kontraband.com:2082 nothing appears....

    How can we do this.. I have access to domain, cpanel, whm
     
    shawnecstacy, Sep 22, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    How do you know they are running cPanel? Perhaps they have dropped all packets to cPanel ports if it doesn't match their own IP?

    Jay
     
    jayshah, Sep 22, 2008 IP
  5. shawnecstacy

    shawnecstacy Peon

    Messages:
    456
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I think you are right.
    I forgot that there are other admin panels also like flex.

    I think that site don't have a cpanel.

    Thanks
     
    shawnecstacy, Sep 22, 2008 IP