Ok being a network guy by nature, i was thrown into the fire of server administration.. so bare with me.
I have subdomains that are pointed to my external ip. If i try to access the site off the network, i can access it just fine. When i am within the lan, i cannot view page. In order for me to view page i need to manually edit my host file with FQDN as well as private ip of apache server.
I was reading up on various fixes which included named virtual host in apache, dns lan server, and also nat on a stick.
Im thinking since i have to manually edit hosts file with private ip of apache server, common sense tells me that i need a DNS lan server to resolve the hostname to its private ip, and not public, but not too sure if this is the best route to go. Any suggestions ?
I have subdomains that are pointed to my external ip. If i try to access the site off the network, i can access it just fine. When i am within the lan, i cannot view page. In order for me to view page i need to manually edit my host file with FQDN as well as private ip of apache server.
I was reading up on various fixes which included named virtual host in apache, dns lan server, and also nat on a stick.
Im thinking since i have to manually edit hosts file with private ip of apache server, common sense tells me that i need a DNS lan server to resolve the hostname to its private ip, and not public, but not too sure if this is the best route to go. Any suggestions ?