Skip to main content


I want to enable file uploads on my #XMPP server. (XEP-0363). I'm running #prosody. The docs say "The domain specified in your Component line should ideally be a direct subdomain of your VirtualHost."

Does this mean I cannot use the same domain as my VirtualHost for this? So if my server runs on im.skelly.boo, uploads would have to be on a subdomain for that or a different subdomain entirely?

🤔

in reply to Jun

There are actually two names involved, the XMPP name and the HTTP(S) name. You can set http_host = "example.com" to reuse the same domain name in the HTTP(S) layer. The XMPP name does not need any DNS since it only needs to be routable inside Prosody and discoverable by local clients. Subdomains are automatically made discoverable, but it can be made manual with disco_items, see https://prosody.im/doc/modules/mod_disco