Can i use a domain's subdirectory for a different website hosted on another server?

Hello Everyone!

I have a question about using subdirectories with Shopify. Specifically, I have a Shopify store hosted on the root domain www.mywebsite.com, and I want to run a different website on www.mywebsite.com/stories, which is hosted on another server.

Does Shopify support this setup? Can a subdirectory of the main Shopify site point to a different server? I’ve searched through the Shopify documentation but haven’t found the information I need. Does Shopify allow such configurations, or does it only support a root third-party domain or subdomain for hosting additional content?

I appreciate any help, links, or advice you can provide.

Thank you!