View previous topic :: View next topic |
Author |
Message |
wrt54g n00b
Joined: 08 Jun 2007 Posts: 7
|
Posted: Tue Nov 27, 2007 3:49 am Post subject: I've been *bind'ed* out ... |
|
|
I'm in trouble ...
I have 10 mashines in LAN and i need to run LAMP on every each of them and that's not a problem...
I was wondering how to do it on just ONE *public* ip... i've just runned out of ideas...
The thing is that
domain.com points to lan ip 10.0.0.1
domain2.com -> 10.0.0.2
domain3.com -> 10.0.0.3
etc..
and two domains have subdomains ex
domain5.com -> 10.0.0.10
something.domain.com -> 10.0.0.11
my question is simple - can it be done on just one public ip?
How to do it? I found on web via google lots of stuff and tips-how-to's about bind and find it out working very well but only for one server and one domain...
Help guys i'm out of strenght on this |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23066
|
Posted: Tue Nov 27, 2007 4:22 am Post subject: |
|
|
What are you doing that you can sustain so many domains, but cannot get a few more IP addresses?
You can make this work if you have an HTTP reverse proxy on the gateway system that examines incoming requests and dispatches them accordingly or if you are willing to have most of the domains served off non-standard ports. |
|
Back to top |
|
|
wrt54g n00b
Joined: 08 Jun 2007 Posts: 7
|
Posted: Tue Nov 27, 2007 4:34 am Post subject: |
|
|
Thanks for quick reply.
Unfortunaty i cannot point more ip's to that segment don't ask why...
What software should i run on the gateway box if you're advice should be used?
I don't mention services running on some "strange" port ranges until http://domain.com/ stays that way...
How does big server provideres do those things with few domains on one ip pointing to multiple mashines ... |
|
Back to top |
|
|
wrt54g n00b
Joined: 08 Jun 2007 Posts: 7
|
Posted: Tue Nov 27, 2007 4:42 am Post subject: |
|
|
Any one is familiar with sqiud??
How would it go on that? |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
|
Back to top |
|
|
wrt54g n00b
Joined: 08 Jun 2007 Posts: 7
|
Posted: Tue Nov 27, 2007 5:35 am Post subject: |
|
|
Well i've read it and i have even more questions
Thought it has nice and clean "tunneling" mode
Quote: | http_port "public-ip-address":80
httpd_accel_host "127.0.0.1"
httpd_accel_port 80
httpd_accel_uses_host_header on
acl valid_dst dstdomain .example.com
http_access allow valid_dst (Just before deny all!)
|
it has a flaw i think ... what about subdomains - all of them will have to be manually added to /etc/squid/squid.conf and the beauty of having multiply subdomains on each server suddenly vanishes
or am i just thinking backwards ... i didn't sleep all night be cause of that ... |
|
Back to top |
|
|
|