Showing results for 
Search instead for 
Did you mean: 

Updating Domain DNS

Updating Domain DNS


We’re moving our hosting service for our Linux/Magento server and we need to update the IP address for our domain.

Do we need to do anything special to Magento once we repointed our domain to the new public IP?


Re: Updating Domain DNS

Hi @join_bartlett 


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.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Updating Domain DNS

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.