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!

/cpanel redirect to port 2082 not working

Discussion in 'General Discussion' started by danitfk, Mar 28, 2015.

  1. danitfk

    danitfk Registered

    Joined:
    Feb 18, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello fellows :)

    In this week I did change some variables in httpd.conf about Directory options , But I did restore to default.

    Now I have some problem , Like when I open this address http://mydomain.com/cpanel will not redirect tohttp://myhostname.com:2082 or http://mydomain.com:2082 It will show 404 not found page. Also I have some problem with KCFinder and I faced to Internal Server error.

    How I can restore apache config (httpd.conf) to default setting?
     
  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:
    Hello,

    I would suggest you to take backup of httpd.conf and rebuild it with below command:

    /scripts/rebuildhttpdconf

    If you want to make any custom changes in httpd.conf, you need to run the destiler to make it permanent. You should run below command after making custom changes:

    /usr/local/cpanel/bin/apache_conf_distiller --update
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Is the issue isolated to that particular domain name? For instance, is /cPanel accessible from the hostname or IP Address?

    Thank you.
     
    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