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.

Where is httpd.conf ?

Discussion in 'General Discussion' started by charleyhankins, May 12, 2009.

  1. charleyhankins

    Joined:
    Apr 21, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I am on a virtual server with GoDaddy.com. Since I am on an unsupported Virtual Server, they can only assist me to the point of the server, no further.

    I need to locate my httpd.conf file.

    It does not reside in any of my root level directories including "usr" or "etc".

    Neither are there any "Apache" directories.

    My Apache is up and running fine and I can access it through cPanel and WebHost Manager. But, I cannot locate httpd.conf through there, either.

    Am I just missing something?

    Any assistance would be appreciated.

    Thanks,
    CH
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You will find httpd.conf file at /usr/local/apache/conf directory.
     
  3. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    From the command line:

    httpd -V

    Will also show you where it is located.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What is it you intend to do? Perhaps a manual edit of httpd.conf is not needed.

    If you do intend to edit httpd.conf, be sure to read the documentation on doing so within a cPanel/WHM environment first:

    http://www.cpanel.net/documentation/easyapache/customdirectives.html
     
  5. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    It's best to make the changes through the proper channels such as the whm apache configuration or the included templates, that way they will remain intact after future updates. If you must do them manually, make sure you save it as a template.
     
Loading...

Share This Page