Speech-to-text transcript of the AutoContent API example "help-article-to-video" (Whisper large-v3-turbo, not edited; no speaker labels). Welcome to the Expliner. So if you're looking to serve your Read the Docs documentation from your very own custom domain, well, you're in exactly the right place. Today, we're going to break down the documentation and make this whole setup process structured, clear, and honestly, incredibly easy to follow. Okay, let's dive into this. Do you want your documentation living at a professional branded URL? You know, something like docs.example.com, rather than just a default subdomain? Because that is exactly what we're setting up today. We're going to walk through a foolproof guide to get your custom domain connected seamlessly to your Read the Docs project. Here's our quick agenda for this explainer. First up, adding a custom domain. Second, creating DNS records. Third, automatic SSL provisioning. And finally, number four, removing a custom domain. Adding a custom domain. Setting up your domain in the admin UI. All right, here are the exact steps to get your domain registered right in the system. Step one, you just go to the admin tab of your project. Step two, click on domains. Step three, enter the domain where you actually want to serve the documentation. Step four, mark the canonical option if you want to use this domain as your primary canonical domain. Now, that part's optional, but it's highly recommended for your SEO. Step five, click add. And step six, right at the top of the next page, you're going to find the exact value of the DNS record that you need to point your domain to. You'll absolutely want to note that down carefully. Now, notice how the final DNS value you receive actually changes based on your account type. If you're using community hosting, you'll be instructed to point to readthedocs.io. But for business hosting, the record's going to look a bit different. It'll be a hash followed by .domains.readthedocs.com. And here is a crucial tip. If you're using Cloudflare to manage your DNS, you've got to make sure to disable the proxy status. That's that little orange cloud icon for this CNAME record. If you leave it on, you'll trigger an error 1014 CNAME cross user band message. And that's just because Read the Docs already uses Cloudflare to manage SSL and caching. So it kind of clashes. Let's move to section two and see how this builds. Creating DNS records, connecting your domain to Read the Docs. And this brilliantly illustrates how the exact record types you have to create really differ based on the structure of your domain. So if you're using a subdomain like docs.example.com, you're required to add a CNAME record. versus if you're using a root domain, like just example.com, well, then you require an aname or alias record. Understanding this distinction is absolutely vital for getting your documentation online successfully. Now, you might be wondering about traditional A records. Well, Read the Docs specifically does not support pointing subdomains or root domains using A records. Why? Because A records require a static IP address to point to. And Read the Docs' IP addresses may change without notice. So if you used an A record, your documentation site could literally break the instant that IP changed. So definitely stick strictly to CNAME, ANAME, or alias records. Automatic SSL provisioning. Handled seamlessly in the background. This part's great. Once your DNS records are pointed to read the docs, SSL certificates are automatically provisioned for your domain. No extra action or certificate request is needed from you. It's all managed in the background by Cloudflare. Now, while they are typically issued within just a few minutes, you really should expect to wait up to a maximum of one hour for everything to fully provision. But if you do find yourself waiting longer than an hour, here is a fantastic troubleshooting tip. Sometimes if you set up the domain in the Read the Docs UI, but wait hours or even days to actually update your DNS provider, the system applies an exponential backoff in its validation attempts. To kickstart the whole process again, simply load the domain details in your Read the Docs dashboard and click Save again. This simple little action forces the system to immediately revalidate your domain. Pretty handy, right? Removing a custom domain. Teardown and critical security warnings. The teardown steps start off simple enough. Step one, just go back to the Admin tab and click on Domains. Step two, click the Remove button right next to your domain. Step three, click Confirm. But step four is where you really must pay attention. Remove the DNS record from your external DNS provider. Remember, this final, absolutely essential step happens completely outside of the Read the Docs platform. Also be aware that the very moment you remove the domain in the Read the Docs UI, your previous documentation domain is no longer served. Any lingering requests to that old URL will instantly return a 404 not found error. So the crucial point is this severe warning pulled straight from the documentation. It says, if you delete a domain, make sure to also remove the DNS records. Otherwise, another user may add the same domain to their project and serve that content from your domain. This is what's known as domain hijacking. If you leave your external DNS records pointing to Read the Docs without an active project claiming it on their end, a bad actor could easily claim that domain in their own Read the Docs account and serve malicious content right under your brand's URL. Nobody wants that. Which brings us to our final thought for today's explainer. Have you audited your external DNS records recently to ensure your domains are safe from hijacking? Now, Read the Docs does have some preventative measures in place, but they explicitly recommend not relying on platform restrictions alone. Make it a habit to regularly review your DNS records and clean up any that are just no longer needed. Thank you so much for learning with me today. And hey, keep those domains secure.