I am trying to transfer my websites from my old plesk server manually.
I made it through all of my accounts without any issues but now there is site that I face a strange issue.
When I use an empty .html file the site seems to work fine. When I am uploading the contents of the wordpress it says error on the database connection and when I correct and upload the database it suddenly redirects to another of my websites which has a static content.
You may want to search through the files or through the dump of your database file (in case of WordPress) for the matches of the domain where you’re getting redirected, like:
grep -R old-dom /backups/old-dom.com
WordPress database has a table called wp_options and siteurl and home keys. Fix those.
Double check your SSL for that site. If it’s off, that will happen. As a test, set your Cloudflare SSL to “flexible” not Full or Full Strict and see if the site works. If it does, then you have a certificate problem.