Sorry if this is a double post, I'm really not sure what happened to my previous post.
Anyway, I have a site already running on Nginx that I'd like to add an e-commerce section to at www.example.com/store. I know how to do this from the server side, but I don't know how I would edit the base url for the shopify theme. Can you add a url with a subfolder to the domain list and just expect it to do the right thing? Or do I need to add a hook to the theme? Any advice would be appreciated.
Hey there Shane!
Wesley here with the shopify Guru team! What you are wanting to do can be done, but in a slightly different way. You are wanting to do www.example.com/store, which is acutally a subdirectory not a subdomain. A subdomain would be store.example.com.
Subdomains can easily be pointed at your shopify store, you just need to set them up with your domain provider. We have a guide that I'll include below that walks you through how to add a subdomian with your domain provider.