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!

Script that creates virtual host

Discussion in 'General Discussion' started by kaancho, Nov 28, 2007.

  1. kaancho

    kaancho Registered

    Joined:
    Nov 28, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hi,
    we have a server managed by cpanel which creates virtual host for our clients. Following is added to the apache .conf file for each client by cpanel:

    <VirtualHost 10.10.10.10>
    DocumentRoot /home/newaccount/public_html
    BytesLog domlogs/newaccount-bytes_log

    User newaccount
    Group newaccount
    ServerName newaccount.com www.newaccount.com
    ServerAlias newaccount12.com www.newaccount12.com

    CustomLog /usr/local/apache/domlogs/newaccount.com combined
    Options -ExecCGI -Includes
    </VirtualHost>

    If I needed to modify the way it adds the "Virtual Host" to the .conf file how do I do it. Is there a file I need to modify or can I do it through some GUI ?
    thanks
     
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