this post was submitted on 13 Nov 2023
32 points (92.1% liked)
Selfhosted
59923 readers
817 users here now
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam.
-
Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.
-
Don't duplicate the full text of your blog or git here. Just post the link for folks to click.
-
Submission headline should match the article title.
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Interested in learning about the wildcard. How do you set up the DNS to accept that?
I'm using cloudflare as my DNS, and it's literally just:
*On the letsencrypt side, it's pretty similar. Create a certificate with
domain.nameand*.domain.name(if you want them to share a cert) and you're off.I have a similar setup.
Getting the DNS to return the right addresses is easy enough: you just set your records for subdomain
*instead a specific subdomain, and then any subdomain that's not explicitly configured will default to using the records for*.Assuming you want to use Let's Encrypt (or another ACME CA) you'll probably want to make sure you use an ACME client that supports your DNS provider's API (or switch DNS provider to one that has an API your client supports). That way you can get wildcard TLS certificates (so individual subdomains won't still leak via Certificate Transparency logs). Configure your ACME client to use the Let's Encrypt staging server until you see a wildcard certificate on your domains.
Some other stuff you'll probably want: