hosting website on a private network

Posted by razor on Server Fault See other posts from Server Fault or by razor
Published on 2009-11-30T06:07:42Z Indexed on 2010/04/17 17:03 UTC
Read the original article Hit count: 178

Filed under:

i'm currently running a website off 3 linux servers. I'd like to setup a private network and only allow port 80 traffic to one of the servers. I'd also like to setup a vpn so only I can access the servers via ssh or any port for developing/debugging.

  1. How hard is this to setup and what do I need to get? Do enterprise/commercial routers have vpn functionality built in?

  2. how do I handle DNS? eg- www.mydomain.com would need to point to the router, which forwards traffic to the webserver. Do I set the A record to the router, and somehow tell the router which server to send the http request to? And how would I make server1.mydomain.com resolve to server1 within the private network (without editing host files)? Would I need to run my own DNS (eg- powerdns?) to do this?

© Server Fault or respective owner

Related posts about networking