The easiest way is to log in to WordPress admin, go to Settings > General, and update both the WordPress Address (URL) and Site Address (URL) fields, then save.
- If you are locked out, edit
wp-config.phpvia cPanel File Manager and add:define('WP_HOME','https://yourdomain.com');define('WP_SITEURL','https://yourdomain.com'); - Alternatively, change the
siteurlandhomerows in thewp_optionstable using phpMyAdmin.
After changing the URL, update any hardcoded links with a search-replace plugin, then clear your cache. If your site breaks, open a ticket and we can help restore it.