You just need to point the name servers of the new hosting to the domain to get the domain showing data from the new hosting but if you are using Emails and other DNS services, you will need to point and set up all of these as well.
If you have a lot of traffic and don’t want your website to get down if you make any mistake, I suggest contacting the new hosting provider for help and they will help you out setting up everything. This is a delicate process else your website will be down for hours.
Let me know if you have any other question.
Hope it helps.
Hello John,
When changing the IP address for your Magento site's domain, there are a few things to keep in mind:
- After updating the DNS records to point your domain to the new IP address, clear your Magento cache and reindex. This ensures Magento is directing traffic properly with the new IP.
- In the Magento admin, double check the "Secure" and "Unsecure" base URL settings under Stores > Configuration > General > Web. Update if needed to reflect the new IP address.
- If you have any hard-coded IP references in code, config files, or the database, update those to the new IP.
- Test front-end and back-end functionality thoroughly. Log in to the admin panel and make sure configuration, URLs, and redirects are working properly.
- Consider setting up SSL/HTTPS for added security with the new Magento hosting provider if not already configured.
Other than that, Magento itself should handle the IP address change smoothly once the DNS propagates.