DNS whit Lan ip Address not whit Internet adress

SYSTEM INFORMATION
**OS type and version: Ubuntu 20.04
**Webmin version: 1.981
**Virtualmin version: 6.17.3
**Related products version: Versione Usermin 1.823

My question.
I want on my server Virtualmin Ip address 10.1.0.249 on local LAN, and Ip address on web 93.42.xx.xx
Why my dns resolved whit ip adress on web?
Please i want my dns resolve only LAn adress.
Please help me for correct configuration.
Many thanks for any things

So in other words you don’t want your server to access the internet at all?

You want to serve a website only on your local IP address and not to the world wide web?

Yes, I need a Virtualmin only local.
For pubblish on world wide web i use reverse proxy. I need Virtualmin only in LAN.

Many thanks

I’m not sure how to go about doing that as it runs contrary to everything Virtualmin is set up to do by default.

I have done it using only Apache on a Linux system before with the Router being the DHCP and using direct links, but I know that’s not at all what you’re looking to do.

Hopefully one of the more knowledgeable Virtualmin guys will weigh in on it.

Because your IP does not resolve to a valid hostname also known as reverse DNS.
And since your server has access to the internet it will get the IP from your external DNS server (WAN).

Just change the IP?