-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Custom Domain Support
A highly-requested feature of Puter is to support access to published websites on Puter through a domain that is not the domain the Puter instance is hosted on. This requires:
- A mechanism to verify ownership of domains
- Configuration for domain owners to specify which site a domain will direct to
- WebServerService needs to allow the Host header values that specify a verified and configured domain name, even when
allow_all_host_valuesisfalse.
Recommendations
- Add a table similar to subdomains. Perhaps call it
domains. - Add a middleware like the puter.site middleware to handle domains.
- Add an entity storage implementation for sites.
- Add the "mapping" (model) and export it.
- Register an instance of EntityStoreService called
es:domains.
- This may or may not be relevant: there's a file called
_default.js; if you don't know it's there, it's kind of hard to find.
TopHatProductions115new
Metadata
Metadata
Assignees
Labels
No labels