LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2006, 09:23 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 856

Rep: Reputation: 30
Multiple web servers on DMZ...is that possible?


Ey, I have successfully setup IPCop as firewall and router. I have DMZ which is called the Orange zone. Now, here's my question. Is there a way to have multiple webservers on a DMZ zone? I have mail server which also has apache installed to access the mails using IMAP protocol. I also want to have another web server on the DMZ zone. But I can only point port 80 once on the IPCop firewall. What do I need to do?
 
Old 07-22-2006, 10:06 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 153Reputation: 153
You can make use of name-based virtual hosts in apache: http://httpd.apache.org/docs/2.2/vhosts/name-based.html
 
Old 07-24-2006, 09:29 AM   #3
depam
Member
 
Registered: Sep 2005
Posts: 856

Original Poster
Rep: Reputation: 30
I can't understand. How am I going to use that if I only have one port to forward on my router. I have forwarded port 80 to my mail server box having Apache installed for the webmail functionality. How do I point certain website on my web server. Please note that my mail server and web server are two different physical machines which also has port 80 opened and both on the DMZ zone.
 
Old 07-24-2006, 02:48 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Probably not a very elegant solution, and not ideal for load sharing, but couldn't you:

1. Forward all port 80 requests to DMZ machine1
2. On DMZ machine1, use iptables (or similar) to forward all port 80 requests for DMZ machine2 to DMZ machine2.

Just a quick thought.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
web server,dmz,iptables puding Linux - Networking 7 08-10-2004 02:48 PM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
Setting up multiple web servers behind Packet Filter (PF) IMNOboist *BSD 2 02-29-2004 04:34 AM
smoothwall DMZ web server andyroshill Linux - Networking 1 09-16-2003 03:38 AM
DMZ and web servers SSBN Linux - Networking 1 05-01-2003 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration