Hi Guys, I faced same issue today when I switched my website to a new domain but i fixed it.
In my case, I had an entry in my hosts file conflicting the name of my new domain and it was blocking the url to be resolved.
I removed the host entry and the new URL is accessible now.
Hope this helps someone!