Mapping a folder to substack

Hi there,
I have a custom domain that is mapped to A gatsby app.

Now I’d like to bring my substack newsletter under the same domain. So that users can brows my substack ( at

Substack supports custom domains for a fee, using CNAME records. For example I could have it point to But after that how would I bring it under

Any help would be appreciated :slight_smile:

Simple, but, disappointing answer. You can’t. You can’t map a domain to a directory inside another domain, or in your case, a subdomain inside your primary domain. It’s not a Netlify restriction, it’s just not possible sadly.

The only situation in which it is possible is when you can actually get the website’s files (that is, all files responsible to render in web browsers) and put them inside a folder called blog inside your primary domain’s root folder. I haven’t used Substack, but, it doesn’t seem so that it will give you your files. If it does, you’re in luck.

However, if it doesn’t, you still have two options:

  1. The first one being, use redirect. The users will end up seeing in their address bar, but, you can link to and the redirect will take care of the rest.

  2. (Not recommended) Use <iframe> to load inside a webpage on However, any link inside that page would anyway end up taking users to


Yes, disappointing indeed.

Thanks for clarification anyway :slight_smile:

1 Like