'How do I publish my new site on my old domain?

I have an old WordPress website currently running on the domain I want to use for my new website, also built with WordPress. I used Local by Flywheel to install WordPress, then built the site. It's currently on a temporary local domain.

I'd like to completely delete the old site and connect my new WordPress site to the same domain, which was purchased through Google Domains and is hosted through SiteGround.

How do I do this? Thank you for your help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source