Changing Domain Name Broke Database

If you navigate to your database which is storing the WordPress website and look under the wp_options table. You should find under the option name siteurl and home. Change these to the new updated url for your website.

See this for more information https://codex.wordpress.org/Changing_The_Site_URL