Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    58

    Default How do I edit httpd.conf?

    I am having a hard time finding out how to edit this. I have searched for over an hour on here and google no luck. I need to edit a domain in the httpd.conf however I don't know how to get to it.

    Thank you very much for the help!

    EDIT:
    I have seen /etc/httpd/conf/httpd.conf as the path, however when I login as root, there is no etc folder.
    Last edited by Izkabola; 09-26-2004 at 12:03 AM.

  2. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    /usr/local/apache/conf/httpd.conf

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    46

    Default

    In a Terminal Window type

    pico /usr/local/apache/conf/httpd.conf
    Seth

  4. #4
    Member
    Join Date
    Dec 2004
    Location
    Chandigarh
    Posts
    109

    Default

    Hi!

    Please tell me how to connect to my server ? I have windows xp and don't know what tool should i use to connect to my server in order to get the command prompt so i can preform the tasks liek editing httpd.conf file etc.

    I am new pelase help!

    Thansk!

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge gorilla's Avatar
    Join Date
    Feb 2004
    Location
    Sydney / Australia
    Posts
    736

  6. #6
    Member
    Join Date
    Dec 2004
    Location
    Chandigarh
    Posts
    109

    Default

    Thanks! What do i have to enter in the file so domain starst working ?

  7. #7
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Is it your own server, or do you just have a website on someone elses server?

    If it's not your own server, you can't do anything with the conf file.

    If it is your server, use Putty and log in with the username root and your root password.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    just a quick note

    if it's your server...i wouldn't try to edit httpd.conf
    if you don;t know how to login to your own server, and find httpd.conf, you're better without editing that file.


    ask someone who knows at least the basic of linux.

  9. #9
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That's true.

    If that file is edited and you don't know what you're doing, you could make it so apache won't restart.

    If it is your server and you do try editing it yourself, at least make a backup copy first.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  10. #10
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default new linux admin ... ?

    If your a new linux admin I would suggest that you get a 2nd box and keep your clients running on a box that you know is stable -


    Nocster.com has some boxes with cpanel for under $60 per month...


    From here - hire someone like FastServerManagement to manage your server that is a production server -
    also - if you pay them the additional $10 they can help you with questions on the other server as well - as they would be hired to help you manage it.


    hope this helps


    me

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    We'll be more than happy to work with you and edit your httpd.conf FREE of charge. If you need more information about our services, please, go to: www.servertune.com

    Thank you!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  12. #12
    Registered User
    Join Date
    Dec 2004
    Posts
    3

    Default

    May I add, if you botch this up, which I did the 1st time, you prob will find apache down, like I did. I copied and pasted the original file into notepad before i did anything

    Aaron Reilly
    System Admin
    www.maxisgamer.net

  13. #13
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    Quote Originally Posted by hostmedic
    If your a new linux admin I would suggest that you get a 2nd box and keep your clients running on a box that you know is stable -
    Nocster.com has some boxes with cpanel for under $60 per month...
    From here - hire someone like FastServerManagement to manage your server that is a production server -
    also - if you pay them the additional $10 they can help you with questions on the other server as well - as they would be hired to help you manage it.
    hope this helps
    me
    We have dealt with Ethan at Coast Inc a few times over the past 3 or 4 years & unfortunately it has ended with us parting ways with them due to their poor knowledge base on big issues & poor customer service!

    If you need good fast Server Management Company, take my word for it & stay away from FastServerManagement! I know I will from now on. They should change their name to SlowWorkstationJrTech.com

    http://forums.cpanel.net/showthread....rvermanagement
    Knowledge is Power!

Similar Threads & Tags
Similar threads

  1. How can I edit httpd.conf and keep the modifications for good ?
    By SecondSight in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-27-2010, 07:24 AM
  2. How to edit the maxconnection in httpd.conf ?
    By cmedia in forum Optimization
    Replies: 7
    Last Post: 07-22-2009, 11:57 AM
  3. How can I edit httpd.conf
    By matins007 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-22-2009, 02:17 AM
  4. Help - how to edit httpd.conf
    By badzilla in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-06-2008, 01:22 PM
  5. Edit httpd.conf
    By looloo in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 12-01-2006, 09:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube