Today, we’re going to teach you guys how to change the domain in your Magento 2 store.
Changing the domain is highly useful when you’re rebranding your Magento 2 store.
And in this tutorial, we’re going to show you exactly how you can change the domain in your Magento 2 store.
Step-By-Step Process to Change Domain in Magento 2
In order to change the domain, first, you need to ensure that your new domain is configured correctly and is pointing to the servers of your hosting provider on which your Magento 2 store is currently hosted.
Once you do that, you need to follow the below steps to change the domain in your Magento 2 store.
Step - 1
First of all, log in to your admin panel and navigate to Stores > Configuration.
Step - 2
After that, navigate to General > Web from the left-side menu, expand the Base URLs section and do the following:
- Change the old domain with your new domain in the Base URL field.
Step - 3
Now, expand the Base URLs (Secure) section and do the following:
- Change the old domain with your new domain in the Secure Base URL field same as above.
- Click on the Save Config button from the top-right corner to finish the process.
Conclusion
And that’s about it!
That’s how you can change the domain in your Magento 2 store.
And if you need our professional assistance, feel free to contact us anytime.