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.

httpd.conf

Discussion in 'General Discussion' started by isinda, Apr 10, 2002.

  1. isinda

    isinda Registered

    Joined:
    Apr 9, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I was cancel a domain on WHM. I want to create it again, But WHM write &Sorry, that domain is already setup (remove it from httpd.conf?)&

    How is remove the domain from httpd.conf ?

    Thanks
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    From the shell, open /etc/httpd/conf/httpd.conf , and jump to the virtual host that deals with the domain in question.... and remove the lines starting with the virtual host directive , and when the host ends (/VirtualHost)

    Then save the file and exit it, and WHManager should no longer find it.
     
  3. checksoft

    checksoft Well-Known Member

    Joined:
    Mar 16, 2002
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    [quote:644ae43f30][i:644ae43f30]Originally posted by feanor[/i:644ae43f30]


    From the shell, open /etc/httpd/conf/httpd.conf , and jump to the virtual host that deals with the domain in question.... and remove the lines starting with the virtual host directive , and when the host ends (/VirtualHost)

    Then save the file and exit it, and WHManager should no longer find it.[/quote:644ae43f30]

    I think the last step should be:
    Reload the server as in--
    # /usr/local/bin/httpd.reload
     
Loading...

Share This Page