I have an ASA 5510, and recently we had to move our web site to an external provider. However, portions of the web site still remain here on site. From outside, the web site operates fine, with the portions being hosted here as well as at the provider site acting as they should. However, when inside the network, the portions that are local do not ever connect and result in a 'site not found' error. This is because the external provider links to my portion using the public URL. I have temporarily solved this by placing a hosts file that give the call to the local portions the correct internal address as opposed to the public address, and that works OK.
Here's the deal, I'd like the ASA to intercept these requests and simply turn them around and send them back inside. Details are:
Local domain = domain1.com
- Local Windows AD DNS, no authority for the domain2 DNS records
- My portion of the web site has a URL of searchdomain1.com with a public address of 10.10.10.100 and a inside address if 192.168.1.10
Hosted domain = domain2.com
- External DNS provider with authority for domain2, not domain1
- URL for the main site portion is mysite.domain2.com with a public address of 10.100.10.100
Initially, I though a static NAT rule similar to:
static (inside,inside) 184.108.40.206 10.10.10.100
but no change. Then I thought perhaps with the dns keyword like:
static (inside,inside) 220.127.116.11 10.10.10.100 dns
Still no change.
Anyone have any ideas as to how to do this?