Solved

How do you direct web traffic incoming to 2 different web servers

Posted on 2008-10-26
4
383 Views
Last Modified: 2012-05-05
I have 2 servers, one is my main server with our website.  The other is a unix server that I have a web application on it.

Both the website and the application require web access to access these programs.  The problem is that I have all my 80 traffic directed to my main server.  So when I try to access my application on the second server, it gets directed to the main server instead.

Can I somehow use a different port to differentiate the traffic?  Or is there another way to tell my router what to do with the 2 different "port 80" traffic?

Thanks
0
Comment
Question by:blaster998
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:JimmyLarsson
ID: 22808382
Hello

What kind of firewall do you have? Do you have more than one public IP to use?

BR Jimmy
0
 

Author Comment

by:blaster998
ID: 22809142
The firewall I use is on my router.  I only have one dynamic address to use.  However, the website and application both have "no-ip.com" on them so that they both have a "static" ip address.
 
0
 
LVL 18

Accepted Solution

by:
Gary Davis earned 300 total points
ID: 22809312
Traffic coming into the router on port 80 is directed to a server on port 80 as specified in the router configuration. You can change to a different port on that server if you want.
To get to your other server will require using a different port so like traffic coming into the router on port 81 can be redirected to the other server (you can use port 80 on that server if you want and your router supports that).
If you want to use port 80 for both, all traffic will wind up on your main server and that server could use the Host Header to redirect traffic to the second server.
Gary Davis
0
 
LVL 2

Assisted Solution

by:JimmyLarsson
JimmyLarsson earned 200 total points
ID: 22812360
Just to clarify:

As long as you only have one public IP you cannot separate the traffic by IP, but must do it on destination port. Then your public URL:s to the two servers must look something like this:

http://server.no-ip.com
and
http://server.no-ip.com:81

Br Jimmy
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSL Certificate for IIS7 Site 2 117
PHP 5.6 and 7.x 4 52
hsrp tracking 2 64
Cisco L3 Switch - Show DHCP Server's IP Address for every VLAN 3 20
Large and small networks have one same need, Service monitoring. Service monitoring consists of watch services of the several servers in the network. To monitor means that the administrator will receive an alert when a service is down or it's state …
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question