I've had an Apache Virtual Host working for a couple of month where workers on the office wifi could type in something like www.XYZ123.com and was able to access the website through their browser.
Now, it suddenly stopped working and am unsure of why it's not loading the page anymore.
I've googled extensively and couldn't find what went wrong, but I think it has to do with the hosts file in /etc/hosts.
I'm unsure of which ip I'm supposed to input beside www.XYZ123.com in the hosts file because whenever I run hostname -I or ipconfig -a, multiple IP address comes up and am unsure of which one I'm supposed to be using.
Anyone can clarify this problem to me?