I have a main site that is deployed on Netlify eg : www.example.com
And I have a subdirectory under this main site called blog eg : www.example.com/blog
As per the below community post, I have created another Netlify site [sleepy-roentgen-3eb28f]
eg : blog.example.com with redirect rule in the site’s Ntelify.toml
Say you have an awesome blog as part of your larger website. But you’ve chosen to have your awesome blog in its own, separate git repository apart from the rest of your site content. How can you make this work so that your visitors have a seamless experience browsing that content as well under your one, main hostname? Proxying to the rescue!
Yes, Netlify is built around the “single code base per site” model. But this isn’t to say that you can’t host multiple repositories under a single hostnam…
And I followed the below too
How about forwarding a path to subdomain? I’ve some similar situation in here,
for example that my domain is https://www.example.com/ and my website content is available in the domain path https://example.com/blog . I want to make my website content available at https://blog.example.com .
But when I browse the URL on the browser for the blog content, I see the URL change from www.example.com/blog/post-1 to blog.example.com/blog/post-1 instead of there being no change.