LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2013, 09:32 AM   #1
ruyterb
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Rep: Reputation: 0
two servers on the same port


Hi,

I want to make two servers available on the internet through the same external IP address. These servers use the same port (443) but have a different URL (server1.mydomain.com and server2.mydomain.com). I searched for reverse proxy, layer 4 routing, etc. but found no suitable solution.

My preference would be something like zeroshell or pfsense (complete system, fast & low demands, robust) but as far as I can see these cannot provide such routing.

Any suggestions?

Thanks in advance!
 
Old 06-29-2013, 10:05 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
At the transport layer, two (or more) servers cannot share the same port.

The solution, as you've correctly deduced, is to do this at the application layer by setting up a reverse proxy. Unless you're using a wildcard certificate covering both server names, you will need to install both SSL certificates on the proxy and make sure SSL 2.0 is disabled.

I did a Google search for "pfsense reverse proxy", and got quite a few hits (including this), including instructions on how to install SSL certificates.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Two servers on one port (not as crazy as it sounds) kinetic Linux - Server 4 04-11-2011 04:54 PM
a problem with snort .(port in servers) zahra79 Linux - Networking 0 07-30-2005 02:03 AM
2 servers listening on port 80 possible? scrawl Linux - Software 1 03-13-2005 05:06 PM
multiple servers listening on port 80 ruprecht Linux - Networking 2 03-05-2004 07:15 AM
multiple servers on port 80 steve_babbage Linux - Networking 4 02-19-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:26 AM.

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