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.

Run vhosts on two ports?

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

  1. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

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

    <VirtualHost 72.52.238.76:80>

    To This:

    <VirtualHost 72.52.238.76:80 72.52.238.76:8080>

    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...

    -Josh
     
Loading...

Share This Page