• April 20, 2025, 02:56:38 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Virtual Servers  (Read 4743 times)

Derrex

  • Guest
Virtual Servers
« on: October 13, 2008, 12:58:17 PM »

I want to run a couple of webservers (for testing) One IIS 7 and one Apache on Ubuntu.

I have my own domainspace and is it possible to have two URL's hit the router (using Dynamic DNS) and then get forwarded to the correct server if they both operate on port 80?

So i have site1.mydomain.com and site2.mydomain.com.
I can get the urls to hit the router but how would the router know where to redirect it?

Any help is appreciated.
Logged

D-Linkuent

  • Level 1 Member
  • *
  • Posts: 15
Re: Virtual Servers
« Reply #1 on: October 14, 2008, 01:03:56 PM »

The router cannot dispatch the HTTP GET requests for you; the most it can do is dispatch based on the port.  Try passing all requests on to your Apache.  You should be able to configure the Apache to forward part of the requests to your other webserver.

Any particular reason why both must be externally accessed via port 80?  If not, just give them distinct external ports X and Y and set up the port mappings:
X -> Apache machine : port 80
Y -> IIS machine : port 80
« Last Edit: October 14, 2008, 01:08:02 PM by D-Linkuent »
Logged