Kayako logo
Technical Chat From server configurations to local area networking - the technical discussion forum.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
dmad Offline
New Member
 
Posts: 23
Join Date: Jun 2008
Location: Milton Keynes, UK
2 web servers from 1 public IP address (IIS) - 18-06-2008, 11:14 AM

I've heard this is reasonably simple - but does anyone know how to host 2 web servers from behind one public IP address?

For business continuity, I have setup two Windows Servers - one hosts some web pages and OWA and the other is hosting Kayako. However I only have 1 static public IP and its becoming a real nightmare to aquire additionals (in the short term).

One thing that was suggested was changing the port of the web traffic on the IIS server and then telling the main router to forward traffic into that port across to the 2nd IIS server. Not sure how i would go about this though - any ideas!?
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 6,755
Join Date: Jun 2005
Location: Cumbria, UK
18-06-2008, 12:37 PM

Only way would be to put them on separate ports on the IP.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#3) Old
gbrown100 Offline
New Member
 
Posts: 28
Join Date: Jun 2008
24-06-2008, 09:42 AM

You have a couple of options:

1: If your router does port translation you can forward for example as below:

PUBLIC IP:80 forward to Server1:80
PUBLIC IP:81 forward to Server2:80

Some routers do not do port translation only port forwarding - port forwarding is where the port on the public IP can only be forwarded to the same port on the internal IP (NetGear DG834G does this) - Port translation allows a different port to be assigned to the internal IP (hence translation)

2. Use a reverse proxy server. You should be able to use a reverse proxy server which intercepts the traffic and forwards it on to the correct server. I have done something similar with Apache and the ModRewrite function before. It would work something like this:

www.domainname.com/server1 - forward to 192.168.0.1:80
www.domainname.com/server2 - forward to 192.168.0.2:80

This is done transparently so the host will only ever see the domain name not where to content is served from.
   
Reply With Quote
  (#4) Old
StevenCTP Offline
New Member
 
Posts: 4
Join Date: Jul 2008
15-08-2008, 08:45 PM

You should also be able to create some cool rules using NLB and host-headers (assuming that each of the services is a different host-header) such that both machines really would "share" the one public IP - using Microsoft's NLB, but would behaive somewhat differently thanks to some creative IIS configuration.
   
Reply With Quote
  (#5) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 1,062
Join Date: Dec 2007
Location: Boise, Idaho
15-08-2008, 10:32 PM

There are a million ways to do this. The most common approaches are to use a single web server taught to act like two seperate servers, such as through Apache's NamedVirtualHost mechanism, or to run two distinct servers on separate ports.

I think you may find NamedVirtualHost to be far more convenient than running entirely distinct servers; the outside world can't tell the difference.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
address, iis, public, servers, web

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Support Offline Email Address OLS_DLV How do I? 0 20-03-2008 06:31 PM
Crucial Paradigm Releases Fully Managed Xen Virtual Dedicated Servers (30% off!!) crucial Offers 0 30-01-2008 05:26 AM
Slow response, loss of formatting when accessing from public IP address jkingsland Technical Chat 5 01-10-2007 02:21 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71