Show your Store at your own domain
Connect a domain you own, such as shop.example.com or example.com, to your Store with one DNS record, or let Magpie add it when it hosts your DNS.
Your Store always has a Magpie address. You can also show it at a domain you
own, such as shop.example.com or example.com. Team admins set this up.
Connect a domain
- In Store settings, open Custom domain.
- Enter the address, such as
shop.example.com, and click Connect. A domain already verified for your team that no page uses yet is listed first, with its own button, such as Connect example.com: click it instead of entering the address. - Add the records Magpie shows where you manage DNS for your domain, usually the company you bought the domain from, or move the domain's DNS to Magpie (see below).
The records are:
- A TXT record named
_magpie-verifythat proves the domain belongs to your team. It is not shown once the domain is already verified, for example because you use it for Mail. Magpie checks it once, so removing it later changes nothing. - For a subdomain such as
shop.example.com, a CNAME record pointing to the name Magpie shows. - For a whole domain such as
example.com, an ALIAS record pointing to the same name. If yours has no ALIAS records, add the A record shown below the table instead.
These records only change where your website is. Your MX records and other records stay as they are, so email at the domain keeps working.
Names are shown relative to your domain. If your DNS provider asks for the
full name, add your domain to the end, such as shop.example.com.
www and the whole domain
Connecting a whole domain such as example.com also answers at
www.example.com, and visitors there are sent to example.com. Also answer
at www.example.com on the Custom domain page turns this off. The www
address has its own CNAME record in the table and its own state: nothing is
sent there until its record is right, and a problem with it does not affect
example.com.
Entering www.example.com connects example.com itself, with the www
address sending visitors to it as above. Disconnecting the address disconnects this
second address too.
Move DNS to Magpie instead
Instead of adding the records, you can move the domain's DNS to Magpie, so that Magpie adds the records itself. This is the way the Custom domain page shows first when Magpie can host the domain's DNS: a list of steps under Point example.com to Magpie.
- Click Move DNS to Magpie. Magpie copies the records the domain has now and shows two nameservers.
- Under Check the records Magpie copied, open the domain in DNS and make sure every record the domain uses is there, such as its email records. See Host and manage DNS for a domain.
- Where you bought the domain, change its nameservers to the two shown, and remove any others.
Nothing changes for the domain until the nameservers change. Once they do, Magpie adds the records the Store needs and gets a security certificate. If the domain already has a record at one of those names, such as an old website's A record, Magpie leaves it and the list shows Add the records for me, which lists the records it would replace and asks first. You then manage the domain's DNS in Magpie.
To add the records yourself instead, click Add records instead beside How example.com points to Magpie, under Address settings. Before the nameservers change, this stops the move and removes the copy in Magpie. Move DNS instead switches back.
If you set the domain's nameservers to Magpie's without clicking Move DNS to Magpie, the next check notices and starts hosting the domain. If Magpie has never hosted the domain, or it is already verified for your team, the nameservers you set are enough. A domain Magpie hosted before for someone else needs one more change: the page shows the two nameservers to change to, which proves the domain is yours now. Moving DNS again after Add records instead gives you the same two nameservers as before.
While you wait
Magpie checks the address in the background. The Custom domain page updates by itself when something changes, so you can leave it open or come back to it later. Click Check now to check at once.
While the domain's DNS is moving to Magpie, Check now checks the nameservers too. The company you bought the domain from passes a nameserver change on, usually within a few minutes. Until it does, the nameservers step says which ones the last check found, and Magpie keeps checking.
The top of the page shows where the address stands: Not live yet, Live, or Problem found. While the address is not live, the line beside it says what it is waiting for, and the list under it has the steps left, in order, each marked Done in green once a check finds it done. When every step is done, the address may still need a minute or two for its security certificate; the line says so.
In the step for adding the records, each record shows what the last check found: Found, Not found, or Wrong value. A record stays in the table once it is found. For a wrong value, the value Magpie found is shown under the one to add, so you can compare them for a typo. Before the first check, a record shows Not checked. You can add the records in any order.
After the records are found, Magpie gets a security certificate for the address. This usually takes a few minutes. The page then shows Live.
DNS changes can take up to a day to reach everyone, but most take minutes.
On your own domain
Your products, collections, cart and checkout work at the new address, and customers who pay come back to it. Order emails and order pages use the Magpie address, where buyers sign in: an order, return, review or download address opened at your domain, including a link from an order email sent earlier, goes to the same page at the Magpie address. The order page's Back to link, with your Store's name, returns to your domain.
Once the domain is live, pages at your Magpie address open the same page at your domain, so links people already have keep working. A cart or checkout started at the Magpie address finishes there, and anyone signed in to Magpie stays at the Magpie address, where their wishlist is. To show your Store at both addresses instead, turn off Magpie address on the Custom domain page.
While one of your websites shows your Store (see Show your Store in your website), the domain stays connected and sends visitors to the same page on the website; the Custom domain page and the DNS page say so. When the website stops showing the Store, the domain shows your Store's own pages again.
If the records cannot be found
A live domain stays connected. If a later check cannot find its records, Magpie keeps showing your Store at the domain, and the Custom domain page shows Problem found and what the check found. Until a check finds the records again, the Magpie address shows your Store itself instead of opening the domain.
If the problem lasts 24 hours, Magpie emails your team's admins, and once more after 7 days. When the records are back, the problem clears by itself.
Disconnect
Click Disconnect to stop showing your Store at the address. Remove the records at your DNS provider afterwards if you no longer need them. If Magpie hosts your DNS, the records it added for the Store are removed with it.
The domain itself stays in DNS and Mail. It cannot be removed there while the Store is connected at an address under it.
If the page still shows a problem a day after you added the records, check that the names and values match exactly. If they do, Contact support.
Ask Magpie support
Send Magpie staff a question about anything this article does not answer.