Multiple hostnames

Permalink
Good day,

I would like to set up my QA server so it accessible internally and externally. The server is on an internal NAT address and has a internally resolved hostname (unique domain). The server is also accessible (port 80) externally and that IP address resolves to another name:

so, as an Example:

externally - qa.CB.com is 12.12.12.12
and
internally - qa.cbOffice.lcl is 10.10.10.10

At this time, I am looking for a solution buy am yet to discover it, I can have the site respond to only one.

NOTE: the apache server is set up to (and does) respond to both and to other hostnames and IP addresses.

let me know if I can provide more details, if there are questions or if you can point me to a config set up / steps to accomplish the server servicing on two unique FQDN

thanks in advance

caffeineborg
 
internalfx replied on at Permalink Reply
internalfx
Simplest solution I can think of is to have an internal DNS server that could resolve the external domain name to the Internal IP.

Perhaps a BIND setup on a cheap linux box....or even on the server itself.