<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[**Can WebFinger resolve `subject` to a different domain?**]]></title><description><![CDATA[<p dir="auto"><strong>Can WebFinger resolve <code>subject</code> to a different domain?</strong></p>
<p dir="auto">My immediate assumption is <strong>yes, it can</strong>, because someone may use a specific domain merely as a gateway, and point to a different domain for resolution.</p>
<p dir="auto">e.g. <code>https://activitypub.directory/.well-known/webfinger?resource=acct:julian@activitypub.space</code> (note the different TLD)</p>
<p dir="auto">Resolving to:</p>
<p dir="auto"><code>{"subject":"acct:julian@activitypub.space","aliases":["https://activitypub.space/uid/1","https://activitypub.space/user/julian"],"links": ...</code></p>
<p dir="auto">However, this is a potential security issue because said directory could then poison the resulting data, especially if cached by a user of that webfinger directory.</p>
<p dir="auto">Am I wrong about that? In the meantime I've updated NodeBB's code to strictly enforce webfinger lookups so if a response subject has a different hostname, then the webfinger query result is considered invalid.</p>
]]></description><link>https://bbtest.argentwolf.org/topic/7a1f4a18-bc82-49d7-9aa5-f94becd8b709/can-webfinger-resolve-subject-to-a-different-domain</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Jul 2026 22:13:48 GMT</lastBuildDate><atom:link href="https://bbtest.argentwolf.org/topic/7a1f4a18-bc82-49d7-9aa5-f94becd8b709.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jul 2026 15:39:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 21:31:42 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> yes I agree, I think this would work too. The hard part is having the Webfinger endpoint set up on the other hostname.</p>
<p dir="auto">It's a bit technical for just anybody to do it, but I could conceivably see a simple nginx config set up to serve just one record.....</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2132</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2132</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 21:31:42 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 19:05:15 GMT]]></title><description><![CDATA[<p><span><a href="https://pl.fediverse.pl/users/mkljczk">@<span>mkljczk</span></a></span> The service domain thing has the advantage that the chosen domain works even with servers that don't respect split-domain setups, but I don't know if I would bother with it just for that advantage. Why does the other way need host-meta?</p><p>Would be incredibly cool to see per-account WebFinger-based custom handle domains in a major platform!</p><p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span></p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116999160845237498</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116999160845237498</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 19:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:35:38 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span> Here's what Takahē has to say on the subject: <a href="https://docs.jointakahe.org/en/latest/domains/" rel="nofollow noopener"><span>https://</span><span>docs.jointakahe.org/en/latest/</span><span>domains/</span></a></p><p>Even they don't go all the way, they “only” let server admins add a selection of WebFinger domains for users to choose from.</p><p>So what if we put a “handle domain” field into people's account settings, let them enter whatever they want, and on submission we test whether that domain's WebFinger query for the username in question returns a valid result pointing back to our local actor?</p><p>I honestly think this would work.</p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116999044380138354</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116999044380138354</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:35:38 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:26:59 GMT]]></title><description><![CDATA[<p dir="auto">&gt; <a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> <a href="https://activitypub.space/post/https%3A%2F%2Ffietkau.social%2Fusers%2Fjulian%2Fstatuses%2F116998995030925060" rel="nofollow ugc">said</a>:<br />
&gt;<br />
&gt; Notably, everyone so far other than Takahē treats this as a server-level configuration, when it would work perfectly fine as a per-account setting.</p>
<p dir="auto"><em>oooooooooh</em>, <strong>now</strong> you have my attention.</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2127</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2127</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:23:05 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span> Here's Mastodon's server admin documentation for the feature: <a href="https://docs.joinmastodon.org/admin/config/#web_domain" rel="nofollow noopener"><span>https://</span><span>docs.joinmastodon.org/admin/co</span><span>nfig/#web_domain</span></a> And here's GoToSocial's: <a href="https://docs.gotosocial.org/en/latest/advanced/host-account-domain/" rel="nofollow noopener"><span>https://</span><span>docs.gotosocial.org/en/latest/</span><span>advanced/host-account-domain/</span></a></p><p>Notably, everyone so far other than Takahē treats this as a server-level configuration, when it would work perfectly fine as a per-account setting. I've had a FediForum demo titled “None of you have any idea how close we already are to custom handle domains in profile settings” drafted in my head for years, I just can't find the time to put it together.</p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998995030925060</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998995030925060</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:23:05 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:18:20 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span> Yep! Compare</p><p><a href="https://correct.webfinger-canary.fietkau.software/.well-known/webfinger?resource=acct:canary@correct.webfinger-canary.fietkau.software" rel="nofollow noopener"><span>https://</span><span>correct.webfinger-canary.fietk</span><span>au.software/.well-known/webfinger?resource=acct:canary@correct.webfinger-canary.fietkau.software</span></a></p><p>and</p><p><a href="https://wrong.webfinger-canary.fietkau.software/.well-known/webfinger?resource=acct:canary@wrong.webfinger-canary.fietkau.software" rel="nofollow noopener"><span>https://</span><span>wrong.webfinger-canary.fietkau</span><span>.software/.well-known/webfinger?resource=acct:canary@wrong.webfinger-canary.fietkau.software</span></a></p><p>Note the self link and the subject. In a split-domain setup, the WebFinger results for both hostnames are identical, which is why server software often simply issues an HTTP redirect for ease of implementation.</p><p>For clarity, I didn't invent this, Mastodon came up with it (and respects it for profile views). I noticed while setting up earlier versions of <span><a href="https://fietkau.software/daily_rucks/ap">@<span>DailyRucks</span></a></span> that Misskey does not. And so <span><a href="https://wrong.webfinger-canary.fietkau.software/canary">@<span>canary</span></a></span> was born. <img src="https://bbtest.argentwolf.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=26fe3d85519" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title="😉" alt="😉" /></p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998976370834053</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998976370834053</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:18:20 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:06:36 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> thanks for summarizing the split domain dance for me.</p>
<p dir="auto">Assuming this is how your canary is set up?</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2126</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2126</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:06:36 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:05:43 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/benpate%40mastodon.social" rel="nofollow ugc">@benpate@mastodon.social</a> ROFL oh dear</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2125</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2125</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:05:43 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:03:53 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> </p><p>I believe there was a questionably named “WebFist” protocol that allowed cross-server WebFinger.</p><p><a href="https://indieweb.org/Webfist" rel="nofollow noopener"><span>https://</span><span>indieweb.org/Webfist</span><span></span></a></p>]]></description><link>https://bbtest.argentwolf.org/post/https://mastodon.social/users/benpate/statuses/116998919514658973</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://mastodon.social/users/benpate/statuses/116998919514658973</guid><dc:creator><![CDATA[benpate@mastodon.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:03:53 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 18:03:03 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> srsly</p>]]></description><link>https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998916220097902</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998916220097902</guid><dc:creator><![CDATA[evan@cosocial.ca]]></dc:creator><pubDate>Tue, 28 Jul 2026 18:03:03 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:59:13 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span> Current split-domain setups (Mastodon, GTS etc) do the two-way verification like this: the domain A WebFinger result has a rel="self" ActivityPub link pointing to the actor on domain B, the domain B WebFinger query for user@domainB returns a result with subject: user@domainA. The actor document doesn't need to do anything special. </p><p>That said, FEP-2c59 has seen some uptake since I wrote <span><a href="https://wrong.webfinger-canary.fietkau.software/canary">@<span>canary</span></a></span>. I should update the text some time to reference it.</p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998901190996638</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998901190996638</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:59:13 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:58:09 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/evan%40cosocial.ca" rel="nofollow ugc">@evan@cosocial.ca</a> boy, that second half does a bit of heavy lifting doesn't it &lt;img class="not-responsive emoji" src="<a href="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f63c.png?v=c7cc56fe415" rel="nofollow ugc">https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f63c.png?v=c7cc56fe415</a>" title="<img src="https://bbtest.argentwolf.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f63c.png?v=26fe3d85519" class="not-responsive emoji emoji-android emoji--smirk_cat" style="height:23px;width:auto;vertical-align:middle" title=":smirk_cat:" alt="😼" />" /&gt;</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2124</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2124</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:58:09 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:56:39 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> so, I read that as "You should use the hostname from the webfinger unless you don't want to or it's not there." Your directory idea sounds fine. I could see using it as a high-performance cache, for example.</p>]]></description><link>https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998891086155461</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998891086155461</guid><dc:creator><![CDATA[evan@cosocial.ca]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:54:43 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> </p><p>"   If the query target does not contain a "host" portion, then the client chooses a host to which it directs the query using additional information it has."</p>]]></description><link>https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998883458491322</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998883458491322</guid><dc:creator><![CDATA[evan@cosocial.ca]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:54:43 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:54:13 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> so, here's what RFC 7033 says:</p><p>"The host to which a WebFinger query is issued is significant.  If the query target contains a "host" portion (Section 3.2.2 of RFC 3986),  then the host to which the WebFinger query is issued SHOULD be the same as the "host" portion of the query target, unless the client  receives instructions through some out-of-band mechanism to send the query to another host. "</p>]]></description><link>https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998881497370074</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://cosocial.ca/users/evan/statuses/116998881497370074</guid><dc:creator><![CDATA[evan@cosocial.ca]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:54:13 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:48:24 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> the only way I can think of it conceivably working is if Webfinger(domain A) » Account (domain B) » <code>name@domainA</code></p>
<p dir="auto">So, a two-way back-reference.</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2123</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2123</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:48:24 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:41:56 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian@activitypub.space</span></a></span> <span><a href="/user/wronglang%40bayes.club">@<span>wronglang</span></a></span> Only kind of – I've never considered the implications of a server resolving a WebFinger query for a user on a different origin. At a glance I'm not sure if it solves more problems than it introduces.</p><p>What we do have is WebFinger results linking to ActivityPub actors on a different domain. Fun for things like static site redirects: <a href="https://www.hanselman.com/blog/use-your-own-user-domain-for-mastodon-discoverability-with-the-webfinger-protocol-without-hosting-a-server" rel="nofollow noopener"><span>https://www.</span><span>hanselman.com/blog/use-your-ow</span><span>n-user-domain-for-mastodon-discoverability-with-the-webfinger-protocol-without-hosting-a-server</span></a> And it enables split-domain setups if the ActivityPub domain delegates its WebFinger lookups back to the WebFinger server.</p>]]></description><link>https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998833230810688</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://fietkau.social/users/julian/statuses/116998833230810688</guid><dc:creator><![CDATA[julian@fietkau.social]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:41:56 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:40:16 GMT]]></title><description><![CDATA[<p dir="auto">... but it is great that you posted it! You've shared a common use-case for a webfinger resolution to a different domain... what <a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> calls the split-domain.</p>
<p dir="auto">So in that case, a blanket rejection of a different domain isn't the right approach.</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2122</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2122</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:34:23 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/wronglang%40bayes.club" rel="nofollow ugc">@wronglang@bayes.club</a> actually, no! That's a different Julian: <a href="https://activitypub.space/user/julian%40fietkau.social" rel="nofollow ugc">@julian@fietkau.social</a> &lt;img class="not-responsive emoji" src="<a href="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f606.png?v=c7cc56fe415" rel="nofollow ugc">https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f606.png?v=c7cc56fe415</a>" title="<img src="https://bbtest.argentwolf.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f606.png?v=26fe3d85519" class="not-responsive emoji emoji-android emoji--laughing" style="height:23px;width:auto;vertical-align:middle" title=":laughing:" alt="😆" />" /&gt;</p>
<p dir="auto">But it seems we have thought about the same problem.</p>
]]></description><link>https://bbtest.argentwolf.org/post/https://activitypub.space/post/2121</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://activitypub.space/post/2121</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:34:23 GMT</pubDate></item><item><title><![CDATA[Reply to **Can WebFinger resolve `subject` to a different domain?** on Tue, 28 Jul 2026 17:08:30 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> just out of curiosity is it related to this funny looking thing?</p><p><a href="https://wrong.webfinger-canary.fietkau.software/canary" rel="nofollow noopener"><span>https://</span><span>wrong.webfinger-canary.fietkau</span><span>.software/canary</span></a></p>]]></description><link>https://bbtest.argentwolf.org/post/https://bayes.club/users/wronglang/statuses/116998701774730803</link><guid isPermaLink="true">https://bbtest.argentwolf.org/post/https://bayes.club/users/wronglang/statuses/116998701774730803</guid><dc:creator><![CDATA[wronglang@bayes.club]]></dc:creator><pubDate>Tue, 28 Jul 2026 17:08:30 GMT</pubDate></item></channel></rss>