How can I redirect an external URL to an internal host IP for staff using the external URL to access the host from within my local network?

I have a Windows 2012 DNS server with an internal Forward Lookup Zone of internal.com (I'm not using my real domain names). I have a separate company.com domain hosted on an external DNS server. When staff want to access an internal host from the Internet (outside of the office), they use the url hostname.company.com. On my internal Windows DNS server I would like anyone trying to access hostname.company.com to be redirected to the appropriate internal host versus being sent to the public IP. I'm not familiar with how to configure this. I tried configuring another forward lookup zone for company.com on my internal Windows DNS server with an A record of hostname.company.com and the internal IP Address of the internal host. However, it did not work.

Any advice will be appreciated.

Thank you.
Robert BAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MaheshArchitectCommented:
whatever you did on internal dns server is correct..
how your users are connecting to internal network, through VPN?
U need to ensure that while user connects to internal network via VPN, the VPN network should get DNS server IP as internal DC/DNS server IPs, then it will resolve
There must be DHCP some where in network which is responsible for leasing out IPs to VPN clients
U need to change DNS setting in that dhcp scope to point to internal AD /DNS sever

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Yves AccadNetwork Security EngineerCommented:
Also if you just made the change you may need to flush dns cache on local hosts if you are talking about your internal hosts.
Robert BAuthor Commented:
Mahesh/Yves,

Thank you both for your comments, advice, and assistance with the issue. Was a combination of both of your comments that helped me resolve the issue.
PberSolutions ArchitectCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- Mahesh (https:#a42498315)
-- Yves Accad (https:#a42498331)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Pber
Experts-Exchange Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.