Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Name based Virtual Servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Jan 17, 2006 12:39 pm    Post subject: Name based Virtual Servers Reply with quote

Hi,

I asked this thread here: https://forums.gentoo.org/viewtopic-t-423415.html but got no response, probably because I worded it badly :(

I have a server, it has only *one* real external IP address. I run DNS and HTTP among other things from this server.

I'd like different domain names to tunnel onto some virtual IP's on this server when requests come in. For example, my external IP is 212.69.XX.XXX and I have domain1.com and domain2.com both resolving here (using my own DNS server).

I'd like my server to see domain1.com on eth0:0 (10.0.0.1) and domain2.com on eth0:1 (10.0.0.2) so that it can delegate services depending upon domain name. Is this possible at all? I'm hoping the fact that I'm authoratitive for the domains makes it feasible :)

I hope one you brain boxes out there can give me a keyword to search for or something :D

Thanks,

d11wtq
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Tue Jan 17, 2006 4:48 pm    Post subject: Reply with quote

Not really possible in a generic way, TCP/IP doesn't care about the DNS name.
It is possible with some application protocols like http that include the DNS name in the TCP payload, you'll have to configure each service for that individually though, and not many protocols support it.
Back to top
View user's profile Send private message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Jan 17, 2006 5:36 pm    Post subject: Reply with quote

Genone wrote:
Not really possible in a generic way, TCP/IP doesn't care about the DNS name.
It is possible with some application protocols like http that include the DNS name in the TCP payload, you'll have to configure each service for that individually though, and not many protocols support it.


Yeah I was pretty much expecting that answer :( Thanks anyway. I was hoping that I could do some DNS trickery.

My host allows me up to 5 IP addresses in any case so I'll just delegate these to eth0:0 eth0:1 etc etc and handle it on an IP level. That's just a lot more restrictive than I was hoping since it maxes out at 5 domains :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum