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!

Run vhosts on two ports?

Discussion in 'General Discussion' started by jnetsurfer, Nov 18, 2007.

  1. jnetsurfer

    jnetsurfer Member

    Feb 20, 2004
    Likes Received:
    Trophy Points:

    I am trying to modify my Apache config so that every vhost runs on two ports. For example I want to change this:


    To This:


    of course if I edit httpd.conf then running `/usr/local/cpanel/bin/build_apache_conf` removes my change. What configuration file can I edit to make these changes stick? I tried to edit /usr/local/cpanel/src/templates/apache2/vhost.default but that didn't have any effect...


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