Ensure the hosting device has a static IP address to prevent potential connectivity issues due to IP changes. This setup will enable seamless access to Puter and its services across your local network.
The hosts file is a straightforward way to map domain names to IP addresses on individual devices. Itâs simple to set up but requires manual changes on each device that needs access to the domains.
C:\Windows\System32\drivers\etc\hosts
.192.168.1.10 puter.local
192.168.1.10 api.puter.local
sudo nano /etc/hosts
.192.168.1.10 puter.local
192.168.1.10 api.puter.local
Some routers allow you to add custom DNS rules, letting you configure domain names network-wide without touching each device.
puter.local
and api.puter.local
to the hosting deviceâs IP address.This methodâs availability and steps may vary depending on your routerâs model and firmware.
Setting up a local DNS server on your network allows for flexible and scalable domain name resolution. This method works across all devices automatically once theyâre configured to use the DNS server.
contributors note: feel free to add any software youâre aware of which might help with this to the list. Also, feel free to add instructions here for specific software; our goal is for Puter to be easy to setup with tools youâre already familiar with.
puter.local
and api.puter.local
to the IP address of your Puter hosting device.By setting up a local DNS server, you gain the most flexibility and control over your networkâs domain name resolution, ensuring that all devices can access Puter and its API without manual configuration.
Please note the self-hosting feature is still in alpha and a public production
deployment is not recommended at this time. However, if you wish to host
publically you can do so following the same steps you normally would to configure
a domain name and ensuring the api
subdomain points to the server as well.