Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

here is the details:
theres is who "servers": VPS with ubuntu 10.10x32 and home pc, win7
on win7 apatche2.2 is running with webpage on VPS game server is running
DNS forwards www subdomain to PC, and everything else to VPS (all via ip)
I can not configure DNS directly, my providers do

Wanted result: DNS forwards everything to VPS,
VPS redirects *:80 to PC
when viewing page stored in PC domain is shown normaly

Questions:
How to achieve that using as minimal resources as possible?
Is it possible just tel my DNS provider to fix it that :80 port is in different ip?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

How to achieve that using as minimal resources as possible?

Install web-server(Apache(mod_proxy), nginx, lighttpd) and configure proxy to PC.

Is it possible just tel my DNS provider to fix it that :80 port is in different ip?

No, you can use two domain: example.com(VDS) and www.example.com(PC)

share|improve this answer
    
just apatche mod_proxy? and nginx AND lighttpd or comma stads as OR? apatche could do it, i know but its way too heavy to use since only proxi forwarding is needed –  JackLeo Feb 4 '11 at 16:49
    
nginx it will be, also i got recommendation for cherokee. thanx –  JackLeo Feb 7 '11 at 10:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.