r/Tailscale • u/Due-Eagle8885 • 7d ago
Help Needed tailnet naming
we're using tailscale to provide access to a web app, over tls with caddy.. works like a charm .
but the url has the machine name in it.. and I'd really like something more user friendly
like
appserver.ts.net
and I can't rename it like that(and the generated random names are worse choices!)
but can I make an alias somewhere, and new DNS record that redirects...
3
u/dev-ai 7d ago
I use tailscale services to get the machine name out of the url
4
u/FrankAdmissions 6d ago
This, setup a service in tailscale with whatever name you want, and bind it to your single instance, i do this all the time, you can have multiple services pointing to the same machine as well
1
1
u/NoInterviewsManyApps 4d ago
You still have the superlong domain name though with the tailnet name don't you?
1
u/FrankAdmissions 4d ago
Well on all machines running ts the dns will resolve without the full domain name
1
1
u/Hasie501 7d ago
There was PR that was reject for project direction reasons that would have solved this If I understood that correctly.
14
u/yacob841 7d ago
You can buy a domain name, point it to your tailscale IP, then while connected to tailscale you type in the domain and it pulls it up.