mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/khuedoan/homelab.git
synced 2026-09-20 08:03:58 +08:00
1.0 KiB
1.0 KiB
DNS setup
Before you can access the home page at https://home.example.com, you'll need to update your DNS config. Because everyone DNS setup are different, DNS automation is not in the scope of the project.
Some options for DNS config (choose one):
- Use nip.io (suitable for a test environment)
- Change the DNS config in your router
- Change the DNS config at your domain registrar (doesn't work with the
home.arpadomain)
Before continuing to the next section for some examples, run this command to get a list of subdomain and its address:
./scripts/get-dns-config
Use nip.io
Preconfigured in the dev branch.
In your router
You can add each subdomain one by one like the previous method, or use a wildcard *.example.com and point it to the IP address of the load blancer (from the output of the previous command)
At your domain registrar
I'm using Cloudflare for DNS, continue to the next section for more information.