---
title: "Going live with your Magento 2 store"
source: "https://docs.nexcess.com/sites-stores/cms/magento/launch-a-magento-2-store/"
description: "Learn the final steps to take your Magento 2 store live. This guide covers updating DNS, changing the base URL, enabling SSL, and clearing caches."
vertical: "Sites & Stores"
date: "2021-06-25"
last_modified: "2026-08-20"
---

# Going live with your Magento 2 store

Before going live with your Magento 2 store, you will need to modify your A host record in your domain manager for the site domain. You can find the server IP in the portal of your site. This IP will be the A host record you will need to change in the [DNS](https://docs.nexcess.com/sites-stores/domains-dns/configure-dns-records/) of the domain. Setting the [TTL](https://en.wikipedia.org/wiki/Time_to_live) for the DNS to 5 mins will speed up the process of going live with your site.

 After the DNS has been updated for the live site domain and the DNS change has [propagated](https://docs.nexcess.com/sites-stores/portal/domains-and-dns/verify-dns-propagation/) then you can go to the next step to make the site live.

 In order to go live for your Magento 2 store, you can modify the master domain in the portal of your site which will run search-replace in the database and change the base URL.

 You can also change the [base URL](https://docs.magento.com/user-guide/stores/store-urls.html#configure-the-base-url) in Magento from:

 Admin > Stores > Settings > Configuration

![](https://docs.nexcess.com/wp-content/uploads/2026/06/1624638222874-change-base-URLs-in-admin.png)The other method to change the base URL is from [CLI](https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands.html):

bin/magento setup:store-config:set –base-url=”http://sitedomain.com”

bin/magento setup:store-config:set –base-url-secure=”https://sitedomain.com“

Next, you will need to make sure that a [Let’s Encrypt SSL certificate](https://www.liquidweb.com/help-docs/control-panel/nexcess/managed-woocommerce/store-management/enable-lets-encrypt/) has been enabled for the live domain in the portal of your site.

You need to clear your browser cache and if you are using a [CDN](https://docs.nexcess.com/sites-stores/managed-magento/store-management/cdn-for-magento-2/) for the site then you should purge the CDN for the site domain once the domain has changed.
