Custom Domain for AnythingLLM
Every AnythingLLM on Flux has a free HTTPS address. Your own domain takes two minutes: one DNS record, one field in the panel.
Step 1: Find your app address
Your app's address is your-app-name.app.runonflux.io, shown in the panel's Connect tab. It keeps working after you add a domain.
Step 2: Create the CNAME record
At your DNS provider, add a CNAME record for a subdomain, for example ai in example.com, with the app address as its target. If your DNS provider proxies traffic, as Cloudflare can, start with the proxy off so the certificate can be issued.
Step 3: Save the domain in the Domain tab
Open the Domain tab of your app, enter ai.example.com and save. The panel shows the record it expects and whether it is in place. You can also enter the domain in the deploy wizard.
Step 4: Check DNS, HTTPS and sign-in
Once the record has spread, which is usually minutes, open the domain. The certificate is issued automatically. Sign in as before; AnythingLLM does not need to know its own address. If you use the chat widget, copy its embed code again so your website loads it from the new domain.
Put AnythingLLM on your domain with Hosting for AnythingLLM on Flux.
Frequently Asked Questions
Can I use the root of my domain?
A CNAME record cannot sit on the root of a domain at most DNS providers. Use a subdomain such as ai.example.com, or a provider that supports CNAME flattening or ALIAS records.
Do I need to change anything inside AnythingLLM?
No. AnythingLLM does not store its own address, so sign-in works on the new domain straight away.
What about the chat widget on my website?
The widget’s script points at your AnythingLLM address. After a domain change, copy the embed code again from AnythingLLM so it uses the new address, and keep your website’s domain in the widget’s allowed list.
AnythingLLM is open-source software (MIT) and a trademark of Mintplex Labs (https://github.com/Mintplex-Labs/anything-llm). Flux is not affiliated with or endorsed by Mintplex Labs.