Solved

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

Posted on 2008-10-26
4
379 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
  • 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add Server Certificate in IIS from C# 6 108
Http hosting redirect issue 2 39
Cisco Supervisor upgrade to 2T 3 49
Why is my Splunk Web URL not working? 2 52
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now