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.

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:
    1
    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