![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://selfhosted.forum/pictrs/image/3261f01b-4ca2-4b1d-b973-85163cf9aa96.webp)
11·
9 months agoI can ask the same about wildcard DNS. Even if you are willing to setup a docker container to keep your DNS updated no matter where it is hosted, normally you can only do so with one domain at a time. Want wildcard redirects? Most providers make you switch over to a virtual dedicated hosting. Thankfully cloudflare exists. You have full control over DNS, it’s free and they allow you to set www subdomain to a nameserver of your hosting provider and use dns trickery to cname the root domain to www, leaving all of the other subdomains free for you to use as you please.
Setting your www directly to an A / AAAA record is easier, but using NS records instead allow your IP to change as your host changes it as if DNS was setup directly with the hosting provider. Learned my lesson last time my host decided to change the IP my service was hosted on.
You can than have a subdomain like home. where you maintain your public IP and a wildcard *. CNAME redirect to home. so that you can use nginx to expose your services easier, such as homeassistant., nodered., plex., etc…