I'm trying to set up a home internal/external network and I've run into a couple issues. What I would like to do is set up an internal network that is accessible only to internal ips, and an external network that when you go to my domain, it goes to that folder.

For example:
IP Destination -> /path/to/internal -> /path/to/internal
mydomain.com -> /path/to/external
ISP IP -> /path/to/void

Is this possible? I can't even set it up so internal ips and external ips are different. I've tried numerous Vhost configs using normal, ip and name based ips. What am I doing wrong?