Open edX DNS setup starts with the hostnames you publish
Before go-live, a Tutor-based Open edX site needs a clear list of hostnames and the DNS records and certificates behind them. The LMS host is the root of the site, and the Studio, micro-frontend and plugin hosts sit beside it on the same domain you control. If a record points to the wrong place, or a certificate does not cover a hostname learners or course teams actually use, pages fail to load, sign-in breaks and redirects send people to addresses that do not resolve. Treat the hostname plan as a design decision made before any server is provisioned, because changing a published hostname later means reconfiguring Tutor, the identity provider and every link already shared with learners.
Start by listing every hostname the platform will serve, then confirm each one against the Tutor documentation for the release you are deploying, since the exact host names and the variables that set them are defined there rather than assumed. Decide the LMS hostname first, then check how Studio and the other applications derive their hosts from it. Your DNS plan should cover one A or AAAA record for the server or load balancer, any wildcard CNAME that routes subdomains to it, and a plan for how each subdomain resolves during testing and after cutover. Ask whoever owns your DNS zone who can change records, how quickly changes propagate in your environment, and whether the zone is managed by a provider with an API you can automate against.
HTTPS is the second half of the same decision. Tutor's default proxy is Caddy, which can obtain and renew certificates automatically once the public hostnames resolve to the server and the required ports are reachable from the internet. Confirm in the Tutor documentation how Caddy handles certificate issuance for each host and what it needs from your network, especially if a firewall, a DNS provider with restricted API access or an existing load balancer sits in front of it. Each hostname you forget to publish is a certificate you will not get, so write the final list down, check it with a lookup from outside your network before enabling HTTPS, and keep the list with your change records so that any later hostname addition goes through the same review.
How a learner request reaches the LMS and Studio
A request starts with a browser resolving the LMS hostname through DNS, where the LMS record and a wildcard CNAME for Studio, MFE and plugin subdomains point at the same public address. The request crosses the trust boundary at the public edge, where Caddy terminates HTTPS with its certificate and forwards traffic by hostname to the LMS or Studio containers. Check that every subdomain resolves to the same address, that the certificate covers each hostname, and that Caddy routes each host to the right container.
Hostname-based routing from the public edge to Open edX containers.
Which DNS and certificate options fit which site
This table compares the DNS and certificate approaches an Open edX site can use, from public DNS with automatic certificates to internal certificate authorities on private networks. Read each row against your network reach and your DNS provider's capabilities, then check the last column for the failure you would face if the choice is wrong.
| Option | When it fits | What it requires | What breaks if chosen wrongly |
|---|---|---|---|
| Caddy certificates with public DNS validation | Learners and staff reach the LMS and Studio over the public internet on hostnames you own | Public DNS records pointing to the server, and inbound access from the Certificate Authority to complete validation | Certificates are not issued, so browsers show errors on the LMS and Studio hosts |
| Wildcard CNAME for Studio, MFE and plugin subdomains | One DNS zone covers the LMS and its related subdomains and you want fewer records to maintain | A wildcard record in the zone, and confirmation that your DNS provider supports wildcard records and the validation method you use | A subdomain you did not list resolves to the platform, or a name missing from the certificate causes browser warnings |
| Individual records per subdomain | A small set of named hosts, or a zone where wildcard records are restricted by policy | One record for each hostname (LMS, Studio, MFE and any plugin hosts), kept in step with the Tutor configuration | A host added to the configuration without a record stops resolving, and the failure looks like an application fault |
| Internal certificate authority | The site is reachable only on a private network and public validation is not possible | An internal CA that clients trust, distribution of its root certificate to learner and staff devices, and a process for renewal | Devices that do not trust the root show certificate errors, and renewal lapses cause outages that are hard to trace |
| Public DNS with a private network address | Records are public but the server answers only on a private address, for example behind a VPN | Certificate validation that works without inbound internet access, which depends on the DNS provider and validation method | Automatic issuance fails silently for the hosts, so confirm issuance before go-live |
| Certificates terminated at a host proxy | Nginx, Apache or a load balancer already terminates TLS in front of Open edX | Certificate management in the outer proxy, and forwarded headers configured so the platform builds HTTPS links | Mixed content warnings and redirect loops appear when the platform believes it is serving plain HTTP |
Set up DNS and HTTPS for an Open edX site
This sequence moves an Open edX site from chosen hostnames to a public address, a wildcard record for its subdomains, and certificates that Caddy obtains automatically. Each step ends with a check so learner access is enabled only after every hostname resolves and presents valid TLS.
Choose the LMS and Studio hostnames
Decide the public hostname for the learner site (the LMS) and the authoring hostname (Studio), along with any subdomains for micro-frontends or plugins your Tutor configuration will use. Write the list down with the exact names, because Tutor's configuration uses these values for routing and certificate requests. Confirm the chosen names with your DNS owner and your security team before any record is created. Done means you have one agreed list of hostnames and a named owner for the parent domain.
Create the A or AAAA records for the public address
Point the apex or LMS hostname at the public IPv4 address (A record) and, if your network supports it, the IPv6 address (AAAA record) of the server or load balancer that will receive traffic. Make sure the address is the one that reaches the host running Tutor's proxy, not an internal address. Set a TTL that lets you correct mistakes quickly during go-live. Check: from a machine outside your network, run a DNS lookup for the LMS hostname and confirm it returns the expected public address.
Add the wildcard CNAME for subdomains
Create a wildcard CNAME record that points the subdomain pattern you use for Studio, micro-frontends and plugin endpoints at the LMS hostname, so new subdomains resolve without a separate record each time. Confirm with your DNS provider that wildcard records are supported in your zone and that explicit records for other services do not conflict with the wildcard. Check: from outside the network, resolve one Studio name and one micro-frontend name and confirm both return the same target as the LMS host.
Confirm Caddy can obtain certificates
Before enabling certificate issuance, confirm that port 80 and port 443 reach the host from the public internet, because the certificate authority checks control of each name over these ports. Caddy in Tutor's proxy requests certificates automatically for the hostnames it serves, so the names must already resolve publicly. Check the Caddy logs after the first start and look for successful certificate issuance for each hostname. If issuance fails, the most common causes are missing public records, blocked ports, or a hostname that does not match the configured value. Confirm the current Caddy and Tutor behavior in their documentation for your versions.
Verify each hostname resolves and serves valid TLS
For every hostname, from a machine outside your network, check that DNS resolves to the expected address and that a TLS connection presents a certificate that matches the name, is issued by a trusted authority, and is within its validity period. Inspect the certificate chain with a standard TLS inspection tool or with openssl, and confirm the subject alternative names include the hostname. Repeat the check for Studio and each subdomain. Done means every name passes both checks from outside the network.
Check the platform responds through each hostname
With certificates in place, load the LMS home page and Studio sign-in page over HTTPS from an external network and confirm each returns the expected Open edX page without mixed-content warnings or redirect loops. Check that forwarded requests show the correct scheme and host in the platform, because misconfigured hostnames can cause login redirects to fail. Note any hostname that returns an error or an unexpected certificate, and fix it before the next step. Done means each name serves the correct application over valid HTTPS.
Enable learner access after a final TLS review
Once every hostname passes resolution and TLS checks, record the certificate expiry dates and the renewal method in your operations runbook, and confirm that renewal runs without manual steps by reviewing the proxy logs after the first renewal window your authority applies. Only then announce the learner URL or change any external links or sign-in flows to point at the production hostname. Keep the staging or test names in place until learner access is confirmed. Done means the owner of the domain and the operations team have signed off in writing.
What breaks when HTTPS is misconfigured on Open edX
The most common HTTPS failure on an Open edX site is a certificate that does not cover every hostname the platform answers on. The LMS, Studio and each micro-frontend or plugin subdomain must sit under the certificate's names, and a wildcard entry only covers one label level. A learner visiting the LMS may see a browser warning, while an administrator reaching Studio sees the same warning on a different host. To trace it, check each hostname separately with openssl s_client and compare the Subject Alternative Name list against the DNS records you planned. Caddy issues certificates automatically only when the DNS records point at the right server and the challenge can complete, so a failed issuance usually shows up in the Caddy logs before anyone sees a browser error.
Redirect loops and mixed content are harder to spot because the page still loads. A loop usually appears when a load balancer or host-level proxy terminates TLS and forwards plain HTTP, while the platform still redirects every request to HTTPS. Learners see the browser stop after a few redirects, and administrators see the same request repeated in the access logs. Mixed content is the opposite problem: a micro-frontend or theme asset is requested over and the browser blocks it, so pages render without styles, scripts or the header. Open the browser developer console and look for blocked requests, then confirm that the public URL settings in the Tutor configuration use for every host.
Cookies and URL settings cause the quietest failures. If session cookies are set for the wrong domain or the wrong scheme, sign-in appears to succeed and then returns the learner to the login page. Confirm that the LMS and Studio URL settings, the platform name and the cookie domain match the hostnames in use, because a Studio URL that points at the LMS host breaks authoring links and sign-in redirects. Ask your Open edX operator to confirm the exact settings in your Tutor version, since key names change between releases, and test sign-in in a private browser window on each host after every change.
Security points for DNS and certificate management
The DNS zone and the certificates behind an Open edX site decide which hostnames answer, who can change them, and whether learners reach the real platform. The cards below cover the controls that keep the LMS, Studio and MFE subdomains pointing where they should and the certificates trusted and renewed.
Protect certificate private keys
The private key behind each certificate is the asset an attacker wants, because it lets them impersonate the LMS or Studio host. Keep keys on the proxy host with file permissions limited to the service account, and keep them out of Tutor configuration files committed to version control. Check that the Caddy data directory is backed up with the same care as the rest of the site, and that a copy of a key is never sent through chat or tickets during troubleshooting.
Restrict who edits the DNS zone
Anyone who can change a record in the zone can redirect learner logins for the LMS host or point Studio at a host they control. Limit zone edit rights to a named group, require MFA on the DNS provider account, and log every change. Review the list of accounts with edit rights each time someone changes role or leaves the team.
Remove dangling CNAME records
When a plugin, MFE or test subdomain is retired, its CNAME can keep pointing at a load balancer or host that has been released. Anyone who claims that target can then serve content under your domain. Delete the record in the same change that decommissions the service, and check the wildcard CNAME for Studio and plugin hosts for targets that no longer exist.
Monitor certificate renewal
Caddy renews certificates automatically, but renewal can fail when port 80 or 443 is blocked, when DNS validation breaks, or when a rate limit is reached. An expired certificate stops every subdomain at once. Alert on certificate expiry for each hostname, and confirm the renewal logs after any firewall or DNS change.
Set HSTS and redirect policy
HTTP Strict Transport Security tells browsers to use HTTPS only for a host, which blocks downgrade attempts on learner connections. Before enabling it, confirm that every subdomain you serve supports HTTPS, because a host that is later left without a certificate will fail in browsers that cached the policy. Decide the redirect rule from HTTP to HTTPS once, and apply it at the proxy so it covers every site.
Questions buyers ask about Open edX DNS and certificates
How much effort does DNS and HTTPS setup for Open edX take?
The effort is usually small in hours but sensitive to timing, because the work is mostly records, reachability and verification rather than building anything. The main drivers are how many hostnames the site needs (the LMS host, a wildcard for Studio, and any micro-frontend or plugin subdomains), whether the DNS zone is already managed by a team that can change it quickly, and whether ports 80 and 443 are open from the public internet so the certificate authority can validate the domain. Each extra hostname adds a record to plan, test and document. Ask any provider to break its quote into DNS planning, record changes, certificate issuance and verification, so you can see which parts depend on your network team.
Can an internal team set up Open edX DNS and certificates without outside help?
Yes, if the team has someone who can edit the DNS zone, open the right firewall paths and read Caddy and Tutor logs. Tutor generates its configuration from a small set of settings, and Caddy obtains and renews certificates automatically once the hostnames resolve to the server and the challenge can reach it. The risks are in the details: a wildcard CNAME that points to the wrong target, a hostname missing from the configuration, a proxy in front of Caddy that breaks the validation path, or a certificate that issues for the LMS but not for Studio. If your team has not done this before, plan a dry run on a non-production hostname first.
What does the work need from our team before it starts?
Three things must be in place before the work starts:
- Control of the domain and access to its DNS provider, with permission to create A, CNAME and TXT records and to change them later.
- Network reachability: a public IP or load balancer address for the server, with inbound ports 80 and 443 open, and a clear path from the internet to Caddy unless you terminate TLS elsewhere.
- A named owner for the domain registration and for DNS changes, so expiry notices and record edits do not depend on one person.
If you run a corporate proxy, a web application firewall or split-horizon DNS, confirm early how internal and external names resolve, because those settings often decide the first certificate request.
How does DNS and certificate work affect our go-live date?
DNS changes can take time to propagate, and certificate issuance can only succeed after the records resolve correctly, so this work often sits on the critical path. Plan the record changes and a test issuance before the content freeze, not on launch day. Time the lowest-TTL and staging checks early, and agree which team approves DNS changes and how quickly they can act. Any rate limits or retries at the certificate authority also need room in the schedule. Ask a provider to show which steps can run in parallel with content work and which must wait for production DNS.
What breaks when HTTPS is misconfigured on Open edX?
Common failures are visible to learners and staff in different ways. A missing or wrong hostname in the configuration can send Studio or a micro-frontend to the wrong address, producing redirect loops or mixed-content warnings. A certificate that covers only one name will fail for the others, and browsers will reject it. Forwarded headers that are not set correctly behind a proxy can make the platform generate http links, which break login and embedded content. Check the scheme and host values in the platform settings after every change, and test sign-in, enrollment and Studio access on each hostname.
What recurs after launch for DNS and certificates?
Recurring work includes domain registration renewals, certificate renewal (which Caddy handles automatically when validation keeps working), and changes whenever a new subdomain is added for a course site, plugin or micro-frontend. Each new hostname needs a DNS record, a configuration change and a test, and it may need an updated certificate scope. Monitor certificate expiry and the health of the renewal path, because a silent renewal failure only shows up near the expiry date. Ask any provider whether monitoring, renewal checks and change requests are included in a retainer or billed separately.
Who pays for the DNS and certificate work, and what should the quote list?
Costs fall into three groups: the time to plan hostnames and records, the time to make and verify changes, and the ongoing work to renew, monitor and extend them. Your registrar or DNS provider may charge for the domain or for managed zones, and your network team may charge internally for firewall changes. A written quote should list each hostname in scope, the records to create, which ports and proxies are covered, the verification steps, and whether post-launch changes are included. DeployOpen plans and implements work in a fixed scope agreed in writing, and ongoing support is available as a retainer.
Keeping hostnames and certificates healthy after go-live
Hostname and certificate problems rarely appear at launch. They appear months later, when a team adds a plugin, a new micro-frontend or a regional site and nobody updates the records that the Caddy configuration and the certificate process depend on. Treat every new subdomain as a change request with an owner, a DNS record, a matching Tutor setting and a test that the new name resolves and serves a valid certificate before learners or course teams use it. Because the wildcard CNAME for Studio and the MFE and plugin subdomains often sit under one zone, a single added name can be hidden inside an existing wildcard, so confirm with your DNS provider exactly which names are explicit records and which fall through to the wildcard.
Renewal failures are quiet until a browser warns a learner. Caddy renews certificates automatically, but the renewal depends on ports, DNS and outbound reachability staying the same, so monitor the outcome rather than assume it. Check the Caddy logs for renewal errors on a schedule, alert on certificate expiry for every hostname the platform serves, and test from outside your network that each name returns the expected chain. Confirm with your certificate authority and Tutor documentation which challenge types your setup uses, since a firewall or DNS change that blocks that challenge will not show up until the next renewal window.
Keep a change log for DNS records and Tutor configuration that covers the hostname, record type, target, requester, reviewer and date. Review it at each release or maintenance window, and compare the live zone against the log to catch manual edits. Staging and production need separate zones or clearly separated subdomains, separate certificates and separate Tutor configuration, so that a staging test never points a production name at a staging server or issues a certificate for a live learner domain from a test environment. Ask your team who may change production records, and whether that approval path matches the one used for the rest of your infrastructure.
How DeployOpen scopes and delivers DNS and HTTPS work for Open edX
DeployOpen plans, implements and documents the DNS records, subdomains and HTTPS certificates for Open edX inside your own infrastructure, whether that is your cloud accounts, data centers or air-gapped network. The written scope fixes the hostnames, the certificate method and the handover package before any record is changed.
How we scope
- Inventory the LMS host, Studio, MFE and plugin hostnames your site needs and confirm which ones are public.
- Confirm who controls the DNS zone, how changes are approved and whether a wildcard CNAME is allowed by your policy.
- Agree in writing which certificate method applies, the ports Caddy needs and who owns renewal and monitoring.
How we build
- Create the DNS records in your zone and verify resolution from the networks your learners and staff use.
- Configure Tutor and Caddy for automatic certificate issuance and confirm the LMS and Studio hosts load over HTTPS.
- Test misconfiguration cases such as mismatched hostnames, missing records and blocked ports, and document the fixes.
How we hand over
- Deliver a record inventory listing every hostname, its target, its owner and its TTL.
- Provide a runbook for certificate renewal, failed issuance checks and adding a new subdomain or plugin host.
- Walk your operations and network teams through the runbook and record their questions and open items.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and retesting of DNS and certificate changes are available as a retainer.
- Confirm with DeployOpen during scoping which changes after go-live fall under the retainer and which are new work.

