Wordpress Change Domain Name In Database. Create a Database For the New Domain. For example if you have the main domain on your cPanel account changed to a different domain have a WordPress website installed the domain name would be changed on the cPanel account but not in the database.
Click on the small icon indicated as Browse. WordPress will now save your new admin email address. Once the files have been copied over to your addon domain folder on another.
Edit and replace the following lines as shown remembering to replace the DOMAIN placeholder with the actual domain name you wish to use.
Edit the database through phpMyAdmin Before making any changes to your database be sure to back it up in cPanel or. Before you can clone a copy of your WordPress website on the new domain name. MySQL database username defineDB_USER username. UPDATE wp_options SET option_value REPLACEoption_value search replace WHERE option_name home.