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.

What to do after updating vhost.local?

Discussion in 'Workarounds and Optimization' started by septi, Dec 30, 2012.

  1. septi

    septi Active Member

    Joined:
    Dec 27, 2012
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    So that httpd.conf is regenerated?

    Rebuilding apache is one way to do it. Boy it's slow. What else?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    You run these commands:

    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /usr/local/cpanel/bin/build_apache_conf
    /etc/init.d/httpd -k graceful
    
     
  3. septi

    septi Active Member

    Joined:
    Dec 27, 2012
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I did and this is what I got:
    root@host [/usr/local/apache/conf]# /usr/local/cpanel/bin/apache_conf_distiller --update
    info [apache_conf_distiller] 'local' datastore in use (/var/cpanel/conf/apache/local)

    and that's it. It stucks doing nothing

    - - - Updated - - -

    Oh it just takes a while. I see
     

Share This Page