I have local website hosting and register public domain already.
My public domain name is company.com and I already did DNS in public hosting as POS.COMPANY.COM.
I can access pos.company.com public work good but I want to access this same URL in local LAN it doesn't.
What I have tried is make static DNS in Mikrotik and tracert 192.168.1.5 is point to pos.company.com but when I PING pos.company.com it point to public IP instead then it can't access my local server by pos.company.com.
How could I access this domain locally and publicly the same?