News: This forum is now permanently frozen.
Pages: [1]
Topic: Monowall URL headers  (Read 2169 times)
« on: July 02, 2009, 17:26:28 »
Cnavarro *
Posts: 2

I had a question in regards to the headers configuration inside MONOWALL.

I currently have three servers in my internal network and was wondering if monowall would allow me to use one single WAN ip to host multiple webpages that are located inside each individual server.

Example: I have http://something.com that is on server 10.11.12.20 | Later I have http://anotherpage.com that is on 10.11.12.40

I would like to use one single WAN ip and have monowall read the request and locate the correct server in which that page is hosted on.

Thanks.
« Reply #1 on: July 02, 2009, 18:03:32 »
Fred Grayson *****
Posts: 994

If you only have only one external public IP address, you can have only one external port 80 forwarded to one inside private IP address.

To do what you want you need either more public IP addresses (and corresponding DNS A records for each domain's web server) or you you need virtual domains running on a single web server.

Monowall alone can't solve the problem.

--
Google is your friend and Bob's your uncle.
« Reply #2 on: July 03, 2009, 23:56:36 »
Hellraiser69 *
Posts: 3

Another approach would be doing both websites on the same webserver and identifying the requested site by the host header.
You need to configure your webserver accordingly.
So you need to forward all port 80 traffic to that single host/IP address.

Example on Apache 2.2:
http://httpd.apache.org/docs/2.2/vhosts/

Regards,
Roger
« Reply #3 on: July 04, 2009, 06:21:04 »
Cnavarro *
Posts: 2

As far as I know, Reverse Proxy seems to be the most common way to accomplish this Tasks. My question is, can monowall handle reverse proxy? Currently, I have two application that have to run independent on individual servers. The problem is that I have one public IP for both internal servers. I would like to use port 80 for both in order to avoid the long headache of the user typing the port number after the url http://example.com:81.

Thanks in advance
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines