If we need change the subdomain of the store there is default functionality
- From your Shopify admin, go to Settings > Domains.
- Click Manage for the domain that you want to configure.
- In the Subdomains section, click Add subdomain.
- Enter the prefix that you want to add:
- For international subdomains, enter the two letter country code for your target market. For example,
eufor Europe, orcafor Canada. - For all other subdomains, enter the text that you want to add as a prefix. For example,
blogorshop.
- For international subdomains, enter the two letter country code for your target market. For example,
- Click Add subdomain