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.

/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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
Loading...

Share This Page