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 showing deleted virtual hosts

Discussion in 'General Discussion' started by learner, May 28, 2009.

  1. learner

    learner Registered

    Joined:
    May 5, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    When I SSH into

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

    scroll down to the section

    # DO NOT EDIT AUTOMATICALLY GENERATED.......IF..NEED..MAKE..CHANGES..USE..INCLUDE FILES

    Servername fqdn.domain.com

    </VIRTUALHOST>

    NameVirtualHost 111.11.111.111:80

    NameVirtualHost 222.22.222.222:80

    NameVirtualHost 333.33.333.333:80

    Only problem is the third virtual host was an initial test on startup and was deleted but still remains in the httpd.conf file?

    Running cPanel 11.24.4-S36281 - WHM 11.24.2 - X 3.9

    Also on examination there is also a number of ip I was testing and deleting accounts but still remain in httpd.conf file

    cpanel/whm/webmail/webdisk proxy subdomains
    shows IP that should not be there as they are not being used, but where used on accounts previously but deleted.
     
  2. learner

    learner Registered

    Joined:
    May 5, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Fixed

    httpd.conf was messed up - old deleted entries still showing,
    code everywhere.

    rebuilt httpd.conf
     
Loading...

Share This Page