I have a server with ubuntu in which I have several pages mounted, I can access them locally or through the internet with the public ip, but I can not do it in the 2 forms simultaneously, I would like to know if using DNS this can be done resolve and can access my page either locally or remotely, and if that is how the configuration would be, thank you.