Last Updated on by Dan S
Originally Published March 27, 2021.


How to effectively create a subdomain on Shopify

You might want to create a subdomain on Shopify to host a separate blog or perhaps a forum. You may have another store you wish to subdomain like and international shop or a wholesale/vip offering.

Let’s say you want to display whatever it is on a subdomain while using Shopify’s domain hosting. Is it possible to create a subdomain? Do you need to use an app, or is there a native method for this? Let’s discuss this in detail. 

How to create a subdomain

It’s easier to explain the process with an example so let’s suppose you have a main domain called www.goodclothes.com. Now, you want to make a subdomain named thrifted.goodclothes.com. 

In this way, the subdomain should redirect the visitors to www.goodclothes.com/collections/thrifted

When you buy a custom domain from Shopify, you get configuration for two subdomains and the root domain. 

your-store-name.com (your root domain)

www.your-store-name.com

shop.your-store-name.com.

If you’d like to add another subdomain, you’ll have to add CNAME resource records using the OpenSRS interface. 

You would have gotten the information for doing this when you purchased the domain from Shopify.

The platform has an easy-to-understand help section for domains that is useful for learning about subdomains and root domains. 

Here’s what you have to do to set up the subdomain. 

  • Curate a collection that will be shown in the subdomain 
  • Set a domain forwarding record for the intended subdomain. The destination URL should direct to the collection you chose in the previous stem 
  • An IP address will be present on the page 
  • Create a Record for Subdomain using this IP address 

In some cases, the IP address does not show up due to a glitch. If that happens, contact the Shopify support team, and they will give it to you.