I'm toying with a new setup at home, and not sure if what I'm trying to do is possible or not.
I've got my domain's DNS pointed to my WAN IP and being answered by Apache on an Ubuntu 14.04 server on port 80 and everything there works fine. However, I want to mix it up a little bit and here's what I would want to accomplish.
Virtual hosts running on the apache server listening on name-based routing. Something like:
wp.me.com -> forwarded to my Ubuntu server and fed Wordpress from Apache
fw.me.com -> forwarded to server and redirected to 192.168.1.1:8443 to access my firewall
wifi.me.com -> forwarded to server and redirected to 192.168.1.3:8080 to access WiFi
dev.me.com -> forwarded to server and fed from a separate directory in Apache
Is this something I can accomplish with VirtualHosts?