this post was submitted on 10 Jan 2025
12 points (92.9% liked)
Self Hosted - Self-hosting your services.
11680 readers
155 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
- No harassment
- crossposts from c/Open Source & c/docker & related may be allowed, depending on context
- Video Promoting is allowed if is within the topic.
- No spamming.
- Stay friendly.
- Follow the lemmy.ml instance rules.
- Tag your post. (Read under)
Important
Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!
- Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.
Cross-posting
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed if topic has to do with selfhosting.
- [email protected] is allowed!
If you see a rule-breaker please 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
@RareBird15 @selfhost @selfhosting @selfhosted @mastoblind @main
I'm assuming by "current configuration" you have a DNS host that doesn't allow adding NS records? One thing you might be able to do is create records like:
host1.subdomain.laniecarmelo.tech A 1.2.3.4
host2.subdomain.laniecarmelo.tech A 1.2.3.5
In my DNS host I can create a host1.subdomain A record without creating an actual subdomain (e.g. creating a subdomain.laniecarmelo.tech NS record).
@virtuous_sloth @selfhost @selfhosting @selfhosted @mastoblind @main No, my situation is weird. My domain is hosted on Porkbun.com but its nameservers point to Vultr.com, where my WordPress install is hosted on a friend's server. Porkbun won't let me edit DNS records or do much of anything with my domain unless I change back to the default nameservers, which would break my WordPress setup.
@RareBird15 @virtuous_sloth @selfhost @selfhosting @selfhosted @mastoblind @main Then in this case you may want to ask them to add a subdomain a record for you at Vultr that way it doesn't break your current setup. However, I don't think that nameservers actually have anything to do with WordPress, just your A record pointing to the correct IP address, and also any CNAME records if any. It just matters that your records match at the new nameservers (for A records anyway). HTH!
@RareBird15 @virtuous_sloth @selfhost @selfhosting @selfhosted @mastoblind @main There is nothing "weird" in having 2 separate companies, one for registration, one for hosting/DNS provider. IF your nameservers are Vultr.com ones currently, this is where you should edit your zone. You can only edit records at your DNS provider, where the domain is registered has no influence on how it gets resolved.
@pmevzek @RareBird15 @virtuous_sloth @selfhost @selfhosting @selfhosted @mastoblind @main Indeed. I have my own cPanel server as my own DNS server and also Hover, but that's only as a backup and also for where my domain (chrisduffley.com) actually is. I set my own Mastodon subdomain up via an A record, no need to make a whole set for just 1 IP lol, and it's working flawlessly!
@pmevzek @RareBird15 @selfhost @selfhosting @selfhosted @mastoblind @main
Thanks for pointing that out, Patrick. When I read "weird" I think my brain turned off and didn't process the rest of the sentence.
Lanie, perhaps try the trick I described above to create dotted records in your main domain. This saves you from having to having to stand up your own DNS server for the subdomain or have to pay for hosting a second domain.
Sorry, what’s preventing you from adding the subdomains in the Vultr DNS?
I don't use porkbun so I can't guide you in detail. But look for "glue records". Some will just call this nameservers, ns record, or some other confusing and ambiguous lingo (like GoDaddy....). Glue records are separate from rest of the auth DNS servers. Even though you are essentially doing an A record.
So if you have example.com on porkbun, and auth nameservers for this same domain is going to be elsewhere, you can set glue records. Like..
ns1.example.com ns2.example.com
With specific IPs like 123.123.123.123
This will allow you to essentially do the first step and not end up in a cyclic problem of one requiring the other.
I assume this is what you're referring to as the problem.
@RareBird15 @selfhost @selfhosting @selfhosted @mastoblind @main
ah, gotcha. I do hope that you find a solution.