I just got a little problem..
i only have one public ip.. but i need to host several websites over many local ip's..
so, i need to forward the incomming requsts (from the public) to one of the local ip's.. based on the domainname..
so, mydomain.com > my public ip > main server forward the request (based on the domain name) > local ip (apache server) > the apache server return a answer
so, all i want is some kind of portforward with domain names..
My main question is.. how can i do that?
with C, C++, maybe PHP-cli
And what shall i use? sockets? or?
please explain in details :)