Migrate Wordpress from subdomain to root
I created a wordpress droplet using DigitalOcean’s One-click apps. I installed the droplet on a staging subdomain (let’s say staging.domain.com). Now that I’ve completed the site, I’d like to migrate the site from the subdomain to the root domain (i.e. staging.domain.com to domain.com). I’d also like to update all the urls to now use the root domain. I’ve seen guides to do this using cpanel for other hosting providers but not a cohesive one for DigitalOcean. Has anyone done this and/or can guide me in the right direction?
Thanks ahead of time!