I've exhausted myself reading posts about DNS issues and still cannot resolve my own. I know our landscape is messed up, so bare with me.
My company's internal AD domain (company.com) is the same name as our external public domain (company.com). We have our website (www.company.com
) hosted with Hubspot (third part company), so it's external. Our public DNS (and email) for company.com is also hosted externally. My internal company.com domain has a DC/DNS server combined which I control.
Problem: I have a Sharepoint (web) server hosted internally at our office. I have an A-record with static external IP setup on the public DNS and my firewall NAT'd from external IP to internal IP. But when I try to access https://sharepoint.company.com
internally I get 'page not displayed'. If I access from external network it's fine.
I can add a local host file entry on my laptop and give sharepoint.company.com an internal IP, which allows the page to display internally. I've read that I might need a new forward lookup zone for sharepoint.company.com and create an A-record for the internal IP. I did that but it won't display the webpage.
Where am I going wrong? How do I get https://sharepoint.company.com
to display from either internal or external network, without having to edit host file on individual laptops?