renier8 Posted January 22, 2020 Share Posted January 22, 2020 Hello to everyone here. I duplicated/copied my site on Domain A to another Domain B Everything looks good, but the hosting company sent me this message: Domain B has database references to Domain A. Hence, you need to contact your website developer and change the database references. There is no developer😬. I just built the site like most people. I have no idea how to do this. Is there anyone that can assist me, please. Hopefully the solution is not too technical, but I will try any suggestions. Your help will be greatly appreciated. Renier Link to comment Share on other sites More sharing options...
NemoPS Posted January 22, 2020 Share Posted January 22, 2020 Login to site A's cPanel, then phpmyadmin, and export your database. Then login to site's b cpanel, create a database with database wizard, save the credentials. Login to this new phpmyadmin, import the database you got from the other site. Access site B via ftp, config/settings.inc.php and change the database address and credentials to the new one. In the B back office, reach SEO and URLs and make sure the domain is the new one Link to comment Share on other sites More sharing options...
renier8 Posted January 23, 2020 Author Share Posted January 23, 2020 Hello. Thank you for your kind help. A question please: Since site B is a duplication, do I still have to make a new database, or do I import the extracted sql file to the default database that already exists, which contains the duplicated content? Link to comment Share on other sites More sharing options...
NemoPS Posted January 23, 2020 Share Posted January 23, 2020 if you already imported the duplicated one, you can skip it and simply hook it up in the file. Although, if you went live chances are it's gonna be missing the latest orders, so you might better copy over all of the customers, addresses and orders tables Link to comment Share on other sites More sharing options...
renier8 Posted January 23, 2020 Author Share Posted January 23, 2020 Hi again. I will do that. Thank you for your time. I really appreciate it. Renier. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now