Results 1 to 2 of 2
Im moving into an apartment soon and my roomates and i will only have 1 IP address. we are looking to setup a server so that traffic destined to user1.mydomain.com ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-31-2009 #1
- Join Date
- Jun 2006
1 Public IP. 3 Domains
Im moving into an apartment soon and my roomates and i will only have 1 IP address. we are looking to setup a server so that traffic destined to user1.mydomain.com is sent to me. user2.mydomain.com is sent to one roomate. and user3.mydomain.com is sent to the other roomate. i was told that squid could accomplish this but from my understanding squid is only for http servers. i need something that will apply for all traffic. basically im asking if there is a way to turn 1 publicly facing IP into 3.
we have not purchased the server yet but are prepared to purchase multiple network cards for it.
- 04-01-2009 #2
What do you mean 'traffic'?
If you're all running your own game servers, then put them on seperate ports on the server and forward those ports to your respective machines.
If you mean web servers, then that's easy too - you can set apache up with virtual hosts, so the incoming request (with it's full target page and site) determines which website deals with the request. There's plenty of information about virtual hosts on the apache website.
Or you could just mean a NAT type network behind your server, so you have private-space IP addresses for your main computers but they talk to the internet through the server which has a single IP address for that purpose that you share.Linux user #126863 - see http://linuxcounter.net/