Configure multiple webservers on IPCop

I am using IPCop using the red/green/orange configuration.  There is currently one webserver on the orange interface configured like this:


I am trying to add a second webserver but cannot seem to get internet access on this second machine.  I have configured the second webserver like this:


but this second machine cannot get online.  

Presently under port forwarding I have rules which forward traffic to, but there are no entries at all that refer to my proposed new server at  When I try to add another rule to forward traffic from port 80 to the new server at, I get an error saying "Source port in use: 80".

Is what I am trying to do even possible?  What entries do I need to make to the IPCop configuration to allow a second webserver to be online at the same time as the original one?  

Thank you.
Who is Participating?
JelcinConnect With a Mentor Commented:
hi DanielAttard,

i never tried such a setup but i know that what you actually try to do can be accomplished by the use of a Proxy Server (SQUID PROXY) running on the machine with the public IP-Adress. Since you use IPCOP there should be a the SQUID PROXY already included or you can get an extension package. But it is highly probable that you need to edit the configuration file of the SQUID PROXY manually when there is no such configuration on the WEB interface.

here i found a good guide thanks to google :)

greetings Jelcin
additional information about Squid Proxy can be found on
Pierre FrançoisConnect With a Mentor Senior consultantCommented:
It is obviously impossible to forward the same port (80) towards two servers: and for a firewall like IPCop and the common routers, because these do not look at the domain name inside of the requests: they only take the IP address of the webserver into account.

But in the HTTP protocol, there is some redundant information: the IP of the webserver, but also its hostname, and that makes it possible to have several domains with the same external IP address.

As Jelcin says, the computer with IP can be a proxy server configured with squid redirecting its traffic towards all the local webservers, but the explanation he gives is rather complex, and will suppose you have several computers in the ORANGE zone.

Probably, it will be much faster to have your both webserves running on the same computer at If you run your website on an Apache webserver, it is a piece of cake to add a virtual server to your Apache configuration pointing to another directory as the root directory of your second webserver. if you have a directory /etc/apache2/sites-enabled, for each virtual server, you need to add a file named containing this:

        ServerAdmin # or whatever valid email for that website
        DocumentRoot /path/to/the/root/directory/of/
        DirectoryIndex index.phtml

        ErrorLog /var/log/apache2/error.log # or whatever path

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined # or whatever path
        ServerSignature On


Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.