mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-08 23:26:40 +00:00
768 B
768 B
title | category | subcategory |
---|---|---|
Manually set up `/etc/hosts` | development | full-stack |
If you can't use dnsmasq or equivalent, you can still configure hosts manually. The dev experience will be slightly more limited, but it will still work.
1. Add host entries to /etc./hosts
sudo nano /etc/hosts
Then, add these entries:
127.0.0.1 pockethost.test # The main domain
127.0.0.1 pockethost-central.pockethost.test # The main pocketbase instance
127.0.0.1 test.pockethost.test # A sample (user) pocketbase instance
Add as many *.pockethost.test
subdomains as you want to test. Since /etc/hosts
does not support wild-carding, this must be done manually.