Hey #xmpp and #jabber experts on Mastodon: my XMPP server is im.interfree.ca, and so my JID is fastfinge@im.interfree.ca. However, I would like to alias my JID to fastfinge@interfree.ca. That way my email, jabber, and fediverse id's are all the same. I control the DNS on the entire domain. How can I do this? A quick search isn't finding me a list of clear and straightforward steps.
@fastfinge There is no such thing as alias in #xmpp fastfinge@im.interfree.ca is a different account than fastfinge@interfree.ca. I think you can set up interfere.ca as another virtualhost and use migrate.modernxmpp.org
@martin@fastfinge They are different accounts indeed, but I think what you are looking for is DNS SRV entries. prosody.im/doc/dns explains it better than I would. Also, do not hesitate to ask in the support room of your xmpp server directly. As expected, people developing xmpp servers are usually available for support on xmpp. :)
Since we've got Nicoco here ... could we hack around this by setting up an XMPP transport, where you'd use the 'old' JID as if it were a remote/legacy domain?
@guusdk@nicoco@martin I could. But I’m leaning towards just putting up with the subdomain. Especially because I discovered I can make a clickable url out of my jid. So it’s less bad.
@fastfinge As others already pointed out, you can do it with SRV records. As a bit of expectation management, be aware that XMPP is stricter with routing so there isn't really the kind of aliasing you may be familiar with from email. If you already have contacts with that JID then those will stop working if you rename your host.
@fastfinge Depends on what you mean by "interchangeably". The most popular XMPP servers support multiple Virtual Hosts, so you can add both. Accounts will be completely disconnected tho, which is what I meant by "not like email".
@zash Yeah, that's not what I want. I want to use the same username and password to get messages for fastfinge@interfree.ca and fastfinge@im.interfree.ca. I had to run xmpp on a subdomain because my primary domain runs other services.
@zash Thanks for answering, anyway! Hopefully someone, someday, comes up with a XEP for this. Because having to host xmpp on a subdomain is going to be extremely common I think.
@fastfinge You may be missunderstanding @zash I'm afraid. The server host name does not have to match your virtual host. So you are fine hosting domain interfree.ca on im.interfree.ca . What is not possible is redirecting or forwarding existing subscriptions from fastfinge@im.interfree.ca to fastfinge@interfree.ca. Thus you can add two accounts into your clients during transition period if you are okay with that.
@fastfinge You can export your roster and then import it into the new account, however your contact partners will see that as a new contact and will have to accept your contact request again. Am I right @zash ?
@fastfinge This is just a different question but I'd like to know what's your favorite #xmpp client you are using with a screen reader. If you are using multiple, I'm curious which ones.