Self-hosted: per-project URLs after publish

Hi team,

I’m running a self-hosted Plasmic deployment and I’d like every project I publish to be reachable at its own unique link automatically — for example, something
like myproject.myhost.com or myhost.com/myproject. Right now, when I publish a project the publish dialog doesn’t show me a link unless I manually configure a
subdomain or custom domain for that project from the hosting settings. So if I publish a second project, it doesn’t get any URL of its own — I have to set one up by hand each time. A few questions:

1. On a self-hosted instance, what is the intended way for each published project to get its own URL?

2. Is there a plan to assign a unique subdomain automatically on the first publish, or is that something the operator is expected to handle?

Thanks for any pointers!

Hi @shahar_bano1, currently we don’t have automatic subdomain provisioning on our roadmap.

The current intended workflow is:

  • Run/deploy the platform/hosting app.
  • Point wildcard DNS/TLS (*.myhost.com) at the hosting app.
  • Configure Plasmic’s hosting suffix, e.g. plasmicHostingSubdomainSuffix = “myhost.com”.
  • Assign each project a subdomain like myproject.myhost.com via Hosting settings or the setSubdomainForProject API.

This may be something we can look into improving in the future.