Link to home
Start Free TrialLog in
Avatar of dcgrindle
dcgrindleFlag for United States of America

asked on

Help with DNS and local network routing to public address properly

I have a new client with a specific set up needed and I am having a hard time working out exactly how to make it work.  Direction would be appreciated, I know it is a bit convoluted but I will do my best to explain.  Hopefully the diagram will help.  DomainConfigIssue.pdf.
The company's local network domain has been configured using their public domain name.  abc.com.  They have a web server that was running two different sites.  abc.com and myinfo.abc.com.  

The main public site, abc.com, has an option for their clients to log in and access their account information at myinfo.abc.com and that site works with a special application controlled by their software vendor.

They decided to have a web design company do their public site and host it on their servers.  Outside their office everything works fine because public DNS recs for abc.com is set to point to the new hosting company IP addresses and the subdomain myinfo still points to the office public IP.

The problem happens when they try to access any sites on the local domain.  Since the local domain is abc.com and they have configuration pointing to services and other servers using xxx.abc.com there is a lot of traffic flowing on the private network using the public domain name that never needs to leave the private network.  The only traffic that does need to leave is what is directed to the www public site.

When they were testing the new site I took the IIS config of abc.com on the local network web server and redirected it to the-hosting-IP-address/~abc.om and it worked perfectly.  Now, they went live and the hosting company changed the domain to mask so you don't see the IP address any longer, which they should.  However, that makes it unable to find the site from the local network now because abc.com redirects to the IP address which displays a 404 page because it isn't there any longer.

Without doing a lot of configuration changes on the network how can I get it to route just the www.abc.com to the public DNS but only www and no other names in that domain?  It is a fairly new client and we don't have everything sorted yet so we were hoping to not make too many changes to an environment we don't have fully evaluated.
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In your internal DNS either configure an A-record pointing to the new IP or if this is not possible by any means (DNS-loadbalancing e.x.), configure a CNAME-record, pointing to the new subdomain. This way your internal clients will querry your internal DNS and get either the correct new IP or if configured with CNAME get the proper subdomain, resolving it properly to the new IP-adress(es).
Your server must have a internal IP Address as well as a global one?
For internal users, they need not go via the internet. They should be able to access the page locally, via the Local Network. All you need to do is to define a host name and a IP Address corresponding to it. Publish the link to the users and you are good to go.
Avatar of dcgrindle

ASKER

We were able to do it in a Forward lookup A record for www - the internal users must enter www and not use a naked domain but it works fine as long as they enter www.