I have installed Ispconfig,ubuntu 18.04 on hyper-v The issue is that I can access IP:8080 both on ubuntu install and windows but I can only i can access mydomain.net:8080 on ubuntu install and not on windows
Is mydomain.net added to hosts file on Ubuntu but not on windows? Does domain.net resolve from DNS name service? https://en.m.wikipedia.org/wiki/Hosts_(file)
Taleman, sorry I don't know how to use that link.my domain is hosted by enom maybe I have to point name servers to Ispconfig
Are you running own name servers for your domain? You should find out how Ubuntu gets the IP-number from URL. Are Ubuntu and Windows using different name servers? If you do run name servers, there is tutorial: https://www.howtoforge.com/tutorial/setting-up-your-own-name-service-with-ispconfig/
Basically, you need to point your domain A record to your server public / WAN IP. If it is on a vps, that could be straight forward since normally an IP is assigned to that vps and you can simple manage your domain to point to that assigned IP. If you manage the server yourself at home, normally you would be behind a router, so you will need to port forward all the wanted ports (including that 8080) from your router to your server. Plus if you are serving the server at home, normally you would not have a static / fixed public ip as ISP naturally assigned only a dynamic public ip, which will change from time to time. In this case, you would normally need a dynamic dns client to update your dynamic public ip as it changed to your domain dns server. CloudFlare, Zoneedit, Noip and Freedns is among free dns server that can be upgraded to a paid version if you ever need one. However, if you only intend to use it internally, using the internal/ LAN IP should be fine or you can modify your windows hosts file adding the internal IP and domain in it. eg. 192.168.0.111 mydomain.net.
You can check your domain into https://intodns.com/ This tool help you to find out your DNS records data.