Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    11
    Trophy Points:
    168
    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
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice