I have set up a website (www.test.com) using Apache2 on Ubuntu 14.04.
However I can only access the website after disabling the network connection (using nmcli nm enable false). If I keep the network connection, Firefox always opens the internet version of it.
How can I make my site a higher priority than the internet version with network connected?