Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Changing the path yoursite.com/cpanel

Discussion in 'Security' started by manishbathla, Dec 10, 2012.

  1. manishbathla

    manishbathla Member

    Joined:
    Mar 23, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Website Owner
    Hi,

    I have a website hosted on cpanel 11.32.5 (build 12) on a shared IP address. To login to my cpanel I type mysite.com/cpanel and the cpanel login page shows up. I would not want anyone to see the login page of the cpanel. I googled for the same problem that i face and read "You can change the cPanel port in /var/cpanel/cpanel.config file".

    First, I could not find any such directory named var on cpanel. Where is it located?
    Second, is it possible at all to change the default mysite.com/cpanel to something else?

    Please do not ask me why would I want to change or hide the cpanel login address.

    Thank you in advance.

    Regards,
    Manish Bathla.
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    You can access that file only if you have root access to the server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. icandoit

    icandoit Well-Known Member

    Joined:
    Dec 21, 2010
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    56
    YES yes Yes. That is what I did not think of ! Is there any tutorial to safely do that? I have root access :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice