I have a red hat enterprise server and i'm running apache on it. This machine has an internal ip which is 192.168.1.5. I have another server on which i have configured the subdomain which is email@example.com
which is pointing to an external ip address. The external ip address is configured on the firewall and any requests to that ip is routed to the internal ip of that server.
when i host the site in this machine, i am able to access this site with the subdomain from outside our office, but not able to use the same domain name to access within the office. within the office i can use only the internal ip address.
can someone tell me how to configure the subdomain so that i can access the website both internally and externally using the same sub domain name..