404’s don’t refer to DNS settings - you’ve switched over properly, it’s just that the webserver at the IP address is literally saying, there is no document here.
Do you have any idea on what could have potentially led to my IP address pointing to an empty document? It was working perfectly. I did update PHP version recently, but aside from that, I have no idea what could have caused the 404 error.