The post asks if the domain can be configured on the Webstudio side to publish the website to a subdirectory like domain.com/blog instead of domain.com. The community members provided the following responses:
One community member suggested that if the primary site is hosted elsewhere but the blog is in Webstudio, a subdomain like blog.domain.com can be pointed to Webstudio. When the entire site is in Webstudio, a folder named "blog" can be created to build the posts. However, Webstudio cannot serve only domain.com/blog while the root domain.com remains on a different host.
Another community member mentioned that it is possible to do this if the user has their own URL rules on their hosting, so they can render whatever.wstd.io when the user visits domain.com/blog. This can be easily done on Cloudflare using their rules.
The third community member simply stated that using a subdomain is easier.
There is no explicitly marked answer in the comments.
If your primary site is hosted elsewhere but you’d like the blog to live in Webstudio, point a sub-domain such as blog.domain.com to Webstudio and it will work seamlessly.
When the entire site is in Webstudio, simply create a folder named blog and build your posts there—Webstudio can even pull in dynamic entries from a headless CMS.
What Webstudio can’t do (at least for what I know) is serve only domain.com/blog while the root domain.com remains on a different host.