I have a registered domain name (thisexample.net), which I forward to a dynamic URL at DynDns (bounce.dnsalias.net) as my internet access comes over cable and doesn't provide a static IP address. My router (openwrt) forwards port 80 to an apache server on the LAN.
This works for machines seeking the URL thisexample.net from outside the LAN, and for machines inside the LAN going to the server's LAN address (eg, 192.168.1.xxx). However, LAN machines going to the URL thisexample.net (or www.thisexample.net) bring up the router's admin page, as if they had been addressed 192.168.1.1.
I want to experiment with the subdomains, such as beta.thisexample.net. As I understand it, one way to set them up is to use apache's VirtualHost directive with the address name -- but the LAN boxes won't be able to reach such subdomain pages as addressing the domain doesn't get them to the server in the first place.
Why aren't LAN boxes able to use the URL address?
How can I configure things so they can? Is this a poor approach to experimenting with subdomains in the first place?