Step 1: Log in to cPanel.
Step 2: In the Databases section of the cPanel home screen, click phpMyAdmin.
Step 3: In the left-hand pane of phpMyAdmin, click the PrestaShop database. A list of tables in the database appears.
Step 4: Typically, the PrestaShop database is username_presXXX, where username represents your cPanel username, and XXX is a three-digit number.
Step 5: Click the ps_configuration table.
Step 6: Click the name column to sort the rows by name.
Step 7: In the name column, locate the PS_SHOP_DOMAIN row. In the value column, double-click the corresponding value for PS_SHOP_DOMAIN, and then type the new domain name that you want PrestaShop to use.
Step 8: In the name column, locate the PS_SHOP_DOMAIN_SSL row. In the value column, double-click the corresponding value for PS_SHOP_DOMAIN_SSL, and then type the new domain name that you want PrestaShop to use.
Step 9: Exit phpMyAdmin.
Step 10: In the Files section of the cPanel home screen, click File Manager.
Step 11: In the cPanel File Manager, navigate to the folder where PrestaShop is installed, and then open the config folder.
Step 12: Right-click the settings.inc.php file, and then click Edit.
Step 13: Locate the line that contains the __PS_BASE_URI__ setting, and then update the value with the base URI.
Step 14: If you installed PrestaShop in the document root directory (for example, public_html), then the base URI is /. Alternatively, if you installed PrestaShop in a subdirectory, the base URI is /path, where path represents the folder name. For example, the following line shows the base URI set to the document root directory (/):
Step 15: Click Save Changes.