puter
puter copied to clipboard
allow subdomain
Would love to selfhost puter but since you cannot specify the subdomain used for the API endpoint and I would already use a subdomain for puter this cannot work.
Should be easy to make the API endpoint be configurable as well as the domain used.
Thanks in advance
As a temporary workaround, putting a static entry in your hosts file seems to work. E.g., if you have a linux docker host named "docky" with ip address 192.168.0.33 and FQDN docky.home.local and you want to access the puter from your Windows workstation, then on the Windows workstation edit c:\windows\system32\drivers\etc\hosts and add something like: 192.168.0.33 api.docky.home.local docky.home.local docky
As a temporary workaround, putting a static entry in your hosts file seems to work. E.g., if you have a linux docker host named "docky" with ip address 192.168.0.33 and FQDN docky.home.local and you want to access the puter from your Windows workstation, then on the Windows workstation edit c:\windows\system32\drivers\etc\hosts and add something like: 192.168.0.33 api.docky.home.local docky.home.local docky
using an reverse proxy with a puter.domain.com but as far as I understand it wants domain.com and api.domain.com. So sadly this does not work. Atleast that is what it says here: https://github.com/HeyPuter/puter/blob/main/doc/self-hosters/instructions.md
You can try experimental_no_subdomain: true although this isn't recommended for production installations, just for local testing.
experimental_no_subdomain was necessary when using Tailscale VPN, as there is no direct control over subdomains.