Access virtualhost from local network

I am running Webmin and Virtualmin on Ubuntu 18 on my local network.
I have some virtualhost/ websites and one of them I need access from the local network and also from the internet. While I am able to connect from the internet with the domain name pointing on my external IP address, I am not able to find a solution how to access the website over local network with local IP address.

I try to create new alias with the domain name: domain.local and edit windows host file, or create an alias with server IP address but any of them work for me.

The reason why I want to access website from local network is that I am uploading “big” files into server with php script so i wont point on the local IP address

Thank you for your answers.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.