New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting multiple domains on a single instance #1211
Comments
Could you clarify what the use case is that you're going for? It sounds like you want to have multiple domain name aliases for your Mastodon account, of which users could mention either wxcafe@domain1 or wxcafe@domain2, and you would essentially be referencing the same account with the same posts. My question is, why might you want this? In terms of multi-domain federation, the most common use case I've seen (in Hubzilla, no less) has been that of a relay system that chains two or more accounts together on different instances, running on separate domains. Each relay receives notifications and interactions for itself and connected accounts, and posting from one account recreates the exact same post on each subsequent clone account. Additionally, you can log in to each clone in case your main server ever goes down. |
I'm guessing the use case is to have aliases to your address, like you
can with email, without having to put up a new, completely different
instance. Like, I can have wxcafe@serious.domain for professional
emails, and wxcafe@toot.suite for, uh, more relaxed conversations.
I also just think it would be more intuitive to admins if it worked
that way.
…--
Clément 'wxcafé' Hertling
On Fri, 2017-04-07 at 18:11 -0700, Sean Tilley wrote:
Could you clarify what the use case is that you're going for?
It sounds like you want to have multiple domain name aliases for your
Mastodon account, of which users could mention either ***@***.***
or ***@***.***, and you would essentially be referencing the same
account with the same posts.
My question is, why might you want this?
In terms of multi-domain federation, the most common use case I've
seen (in Hubzilla, no less) has been that of a relay system that
chains two or more accounts together on different instances, running
on separate domains. Each relay receives notifications and
interactions for itself and connected accounts, and posting from one
account recreates the exact same post on each subsequent clone
account. Additionally, you can log in to each clone in case your main
server ever goes down.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
You could have multiple domains for new users to choose from like cock.li or GMX. Another feature would be to have multiple accounts connected to switch between like described in #1405 But please don't let users of such instance simply have adresses on multiple domains. That would confuse new users totally! |
I would like to chime in here; this feature can be very important for helping users "own" their identities and for making it possible for a user to migrate from one instance to another. I strongly recommend it be implemented with that in mind. If I understand correctly, OStatus subscription mappings are based on the user's handle, The most basic implementation of this would probably involve letting the user specify in their settings a domain they would like to use in their public handle, and then using that when generating URLs. That might be all it takes, it then becomes the user's problem to buy a domain and set up a CNAME correctly... |
I agree with Bjarni here; it'd be better if users could use their own domains in much the way they commonly use their own domains with shared email servers. A concrete example: I own Similarly I'd like to be able to point some DNS record at the Mastodon server I currently use (
Would have to re-read how SRV records work to be sure about this. Also, not sure if the I don't think a CNAME alone would cut it as I'd want |
If you go with a SRV record, then all the tools need to be updated - including web browsers I think! If you use a CNAME or an A, then everything just works, at the cost of requiring you use a subdomain. I'd go with "ugly but works" over "elegant but will never get deployed in our lifetime". But maybe I'm overstating the problem. Your mapping concern can be solved in the software implementation; one trivial solution is that if a user provides their own domain then you can simply ignore the username@ part. |
Yes, for a URL like For There's currently no standard way of dealing with such a thing in browsers, etc. The closest is that the RFC for acct: URIs (RFC7565) gives use of webfinger as an example use but, perhaps unfortunately, doesn't mandate it or any other lookup method; these URIs are URNs rather than URLs. |
Second what @davidak mentioned, @BjarniRunar & @ed-davies. Allowing a user to chose from any available domains my instance owns as well as allowing them to point their own domain to my server/instance, me do a manual/admin handshake to approve it, and then them sign up accordingly on my sign-up page. I'm for this. I own my own @email and can take that with me to different providers - it's my identity. |
What about bridging icann and opennic? |
Duplicate of more technically specific #2668 |
I'm now confronted with another reason for this feature: I want my instance to be available on both the clearnet AND with a .onion on tor. It seems that right now it's not possible and I have to choose... As a social network visibility through clearnet is important but privacy concerns for a lot's of people that did the migration to mastodon should be taken seriously and we should not force them to use an exit node or the clearnet if they don't want to... |
@erinarbleizez Making an instance visible from two domains currently is not a problem, as far as I know. The issue is that only one of those domains counts as "valid" as far as webfinger/push/salmon requests goes. Users should still be able to access the server from a secondary domain, but other servers will only recognize your clearnet domain as the correct address for accounts. I think that matches your usecase just fine though. |
Unless they wanna be visible to tor-only instances. |
Improve test performance
Merge upstream changes
…don#1256) This PR adds a "Hometown" tab to the "Server Settings" menu for administrators. I have placed our site-wide RSS default opt-in/opt-out setting here, and future Hometown-specific site-wide settings will go there too. This PR also brings back the site-wide setting for whether users are default opted in to or out of search engine indexing (thanks @prplecake) and the site-wide setting for whether the list of discovered servers is available to the public via the API. Both options are under Server Settings -> Discovery now. Fixes mastodon#1211 Co-authored-by: prplecake <me@prplecake.com>
It would be great to be able to just point multiple domains at one instance and have all users on that instance be able to be addressed with all these domain names. With email, for example, if I have two
domains pointed at my servers, it will be able to answer for emails for both domains (it's a bit more complicated than that for email because of the MX records but the basic idea is the same). I only have one unix account on the server, but I receive mail for two addresses.
The text was updated successfully, but these errors were encountered: