I've changed the A record of my domain name to the IP of my new server. At the time of doing it, nslookup mydomain.com showed the old IP addresses as expected. After a day nslookup mydomain.com now shows the new IP address. The services on the server seems to work OK. (I can sync to my owncloud via the desktop app and openvpn works)
The strange thing is, Firefox or Chrome won't open it. I cleared all the caches I can think of, I even created a completely new user on my computer to make sure I reset everything and the page still won't open.
Stranger than that, from the console, with a text based browser, I can do links mydomain.com and it works like charm. The website is there, the server is running and clearly mydomain.com points to the correct IP address. Only Firefox and Chrome complains.
What am I missing?
EDIT: I've used Chrome's chrome://net-internals/#dns page to see if it points to the correct IP address and yes, it certainly is.
EDIT2: Along with links, Android default browser also can access the website.