I am going to migrate my magento 1 site to magento 2. If I have installed magento 1 on
abc.com
and magento 2 on xyz.com. Can I migrate m1 to m2 from
abc.com to xyz.com?
Means from one domain to another domain.
Yes - you can able to migrate from magento 1 to magento 2 from different domains.
But in consideration of migration , i am assuming you are only taking about data migration - so to migrate magento 1 data to magento 2 - you will require to install data migration tool on both the server.
then make sure both have proper access to run the migration scripts - you will also require to have database access and all other related assets.
once everything is on your hand - you can configured data migration tool based on your existing configuration and then you will require to run that data migration tool
Your migration will be start successfully.
Hope it helps !
You can migrate you website from Magento 1 to Magento 2 but you have to migrate you data from your current store to Magento 2 (New Installation).
Here is the Magento Migration Tool. You can use the Migration Tool for data migration.
https://devdocs.magento.com/guides/v2.3/migration/migration-tool-install.html
I'd add that while yes, you can migrate data from domain "x".com on M1 to domain "y.com" on M2, when it's time to launch, if you had any SEO rankings that you want to try to pass along, you'll need to be very careful about the process.
Chances are that no matter how you do it, you'll lose a portion of the organic search engine rankings that the site had under the original domain. To salvage as much as you can, you'll want to create permanent redirects, do your best to keep the URL structure the same, and flag the Change of Address with services like Google Search Console (Webmaster Tools), along with submitting the new sitemaps, having a proper robots.txt file, etc. etc.
IF the site was making revenue from organic search traffic, I'd recommend being very very cautious about switching domains, especially as part of a launch of a new version of the site. It's often best to switch domains with as few site changes as possible so that search engines can recognize that it's a one-to-one change, and not see it as a new site. From my experience, in the eyes of Google, if it looks like you're redirecting to a new site, your SEO rankings can drop significantly.
Even if things go well, you'll want to keep an eye on Google Search Console for errors and issues, like 404 pages, that should be addressed quickly.
Best of luck!
getting this error while migrating :
Warning: DOMDocument::loadXML(): Empty string supplied as input in /var/www/m2.gocleaning.nl/vendor/magento/framework/Config/Dom.php on li
ne 392
And what I have to change in settings.xml file