Follow this if the new domain is added as an addon domain:
Then you’ll have to change the website URL and the home URL for your website to work under the new domain; here’s a guide to do that as well, which is also listed in the article I linked to: