The only way the router would be effective would be for a load balancing type situation, where you would have a cluster (etc - one server running mysql, one doing email, one doing dns, all hooked up to router). From what it sounds like, this is not the situation you want to have.
Your best bet would be to just order some extra IP's. It typically runs $1.50 per extra IP address so it shouldnt be hard to get a few more.
NAT wouldn't do what you are looking for to put multiple http servers behind the same IP as it bases it's redirection and forwarding on target IP (or source) IP rather than hostname. I am assuming you mean as in multiple physical http servers and not just wanting multiple domains/virtual servers.
What I would look into doing is setup a server on your last IP with Apache and have it multihomed (more or less like you were wanting to do anyway)... 1 IP on the outside, 1 internal IP going to a different switch with multiple computers with internal IPs. On the gateway machine there run apache, create virtual hosts for each domain, and then use mod_proxy and proxy_pass to act as a proxy to the other web servers that are on private IPs. This would work to use 1 IP on the outside and route to the correct machine/httpd on a private IP based on the hostname. mod_proxy includes modules for proxying http and ftp connections, so that should work for both of those.
Sounds like what I wanted now..... its how I go about doing it.....
So if I want them to look like normal websites I would have to do the proxy forwarding.
If I want them to look funny, www.mydomain.com:8080 then I will use NAT to forward the ports.....
OR I cam buy more IP addresses... ( Its not $1.50 a piece.... Those are my own connection lines that why its expensive )
Is there any router that would do this proxy pointing thing?
There might be a router (or similar device.. I suppose you would still call it a router) that does such a thing, but I've never seen one (although I haven't actually looked for one). The more I think about it though, the more surprised I would be if one didn't exist, although it may be prohibitively expensive.
If you go the mod_proxy route, I'd be interested in hearing how it goes. I haven't had need to mess with mod_proxy much, so my previous post is theory based on reading docs rather than experience.
Originally posted by JetServers You realize if you use http 1.1 you don't need an IP for each domain any longer?
You can setup hundreds of domains on one IP now.
Not sure if this will help you free up any IPs, if not, disregard.
This is true. I was assuming that there were already multiple domains running on each server currently up and that the servers are just maxed out and more servers are needed. If you are only running one domain per server right now then it's even easier to fix your problem.
Well... All the servers are max out to the extend that any one more heavy user would jam it or tax the CPU too much....
That is why I need to add new hardware to the hosting....
I am testing out some equipment that would translate The necessary Ports into multiple ports so that I can try to host a few more servers under a single IP address.....
But all I seem to accomplish up to date is to use that site for basic web surfing.....
* More sleepless nights for me I guess...*