Here is my dilemma, if I use http://example.com on my local computer say Windows, MAC or Android using the local home network either Wi-Fi or LAN not using the etc/hosts file or local IP address I get
Hmmm… can't reach this page etc…
On my all my web browsers
However, if I use data on my phone, or another internet connection say from work it works perfectly.
Another curious thing is if I use my VPN locally on my Windows computer, I have no issues.
I am sure it is not an Apache2 problem because I have the same issues in nginx. I have looked everywhere at the web but can't find any answers.
Again it's not the Apache2 or router issue because the port 80 is forwarded and all the sites on it function from external connections.
It must have something to do with local network permissions. I am good with computers, but this one is perplexing. I even asked experts who have 20 years experience, and they all can't explain it. One says that for some reason local IP addresses are being blocked, but that's it. I tried with UFW and iptables firewall but nothing works.
Is there a line command that will solve this networking issue? I even added the Google DNS to the Ubuntu computer. It is a DNS issue because the IP addresses work fine. I tried rebooting the computer, nothing changes. How do I flush the DNS in Ubuntu like Windows using ipconfig? I really don't know, please help!