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.

Removing from httpd.conf

Discussion in 'General Discussion' started by mediacatch, Jan 29, 2004.

  1. mediacatch

    mediacatch Member

    Joined:
    Aug 25, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pittsburgh, PA
    Hello, Can someone give me the exact commands to remove a domain from httpd.conf?

    Our technicians won't be in the office for a few hours and we really need to finish transfering an account but it says it already exists (and it is not appearing in list accounts or DNS entries).

    Thank you for any prompt response! :)
     
  2. mediacatch

    mediacatch Member

    Joined:
    Aug 25, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pittsburgh, PA
    I just wanted to note that we can follow SSH commands for those who are willing to help! Thanks so much...
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    You can edit a file in shell with vi or pico, but I prefer to work in my text editor. I'd just download the file, edit it, and upload it again. Make a backup first and upload and download in ascii.

    For shell, just type "man vi" or "man pico" for some reading.

    Apache needs to be restarted for changes to take effect.
     
Loading...

Share This Page