Skip to content
v2.7

Custom domain

Connect your own domain (www.myshop.com.br or myshop.com.br) to a site or a function, with HTTPS, from the console.

Your own domain can open an Owbase site or function, with automatic HTTPS, in addition to the platform address (<name>.sites.owbase.dev or <id>.fn.owbase.dev), which keeps working. This guide applies to both.

  • Each project has up to 5 custom domains, on every plan, counting all destinations together (sites, functions and the project’s API). Openwave can raise a project’s limit; there is no daily cap. The console shows the count on the card (for example, “2 of 5 in the project”).
  • It can be a subdomain (www.myshop.com.br, api.myshop.com.br) or a root domain (myshop.com.br). The DNS steps are different: see the two sections below.
  • The HTTPS certificate is issued and renewed automatically. You only create the records in the domain’s DNS.
  • A domain opens one site or one function, in a single project. Wildcards (*.myshop.com.br) are not accepted.
  • You must be able to edit the domain’s DNS (at Registro.br, Cloudflare, your hosting provider, wherever it lives).

You connect the domain in the console: open the site (or the function), go to Settings → Custom domains, enter the domain and use Add domain. The console shows the records to create, with a copy button. Copy the values from there: they can change, and the console always shows the right ones for your domain.

Domain Records
Subdomain (www.myshop.com.br) a CNAME to domains.owbase.dev and, while the domain is not active, up to two TXT records: one for ownership (proves the domain is yours) and one for the certificate
Root domain (myshop.com.br) only an A record, with the IP the console shows. No CNAME and no TXT: the certificate is issued once the A already points to Owbase

After the subdomain becomes active, the table shows only the CNAME: the TXT records have done their job. If the console doesn’t show a TXT record, it isn’t required for your domain.

On the domain’s DNS screen, Download BIND file downloads the records as a zone file, in the format many panels import. For example, for a site’s root and www:

; pareseguro.com → Owbase (site pareseguro)
@ 3600 IN A 186.209.119.68
www 3600 IN CNAME domains.owbase.dev.

The IP in the example is only an illustration: use the value the console shows for your domain.

  1. In the console, add the subdomain (for example, www.myshop.com.br).
  2. In the domain’s DNS, create the records shown in the table:
    • a CNAME from www to domains.owbase.dev;
    • the TXT records that show up (up to two: one that proves the domain is yours and another for the certificate).
  3. Go back to the console and wait for the badge to change to Active. The card refreshes itself every 10 seconds while the domain is not active.

The names and values of the TXT records are specific to your domain: copy them from the console table. Keep the records in DNS for as long as you use the domain.

  1. Sign in to Registro.br, open the domain and go to Configurar endereçamento (“Configure addressing”) (use Registro.br’s DNS).
  2. Choose modo avançado (“advanced mode”) and use Novo registro (“New record”).
  3. Create the CNAME: Nome (Name) www, Tipo (Type) CNAME, Dados (Data) domains.owbase.dev.
  4. Create each TXT: Tipo (Type) TXT, the Nome (Name) from the console table without the trailing .myshop.com.br (Registro.br completes it with the domain) and the Valor (Value) exactly as shown in the console.
  5. Save and publish the changes.

In your zone’s DNS, create the CNAME www pointing to domains.owbase.dev and the TXT records from the table (Cloudflare also completes the name with the zone: enter the name without the trailing .myshop.com.br). Leave the CNAME with the gray cloud (DNS only), which is the tested mode. With the orange cloud (Cloudflare proxy on your zone) we don’t guarantee it works: it hasn’t been tested. TXT records are never proxied.

When the domain uses Wix’s DNS (servers ns0.wixdns.net and ns1.wixdns.net), the records live in the Wix panel, in the domains area, under Manage DNS Records. Wix already creates some default records, and some of them can’t be deleted. So:

  • Subdomain: www usually already has a Wix CNAME. Edit that CNAME and change its value to domains.owbase.dev, instead of creating another one. Create the TXT records from the console table as usual. If the name field already shows the domain next to it, enter the name without the trailing .myshop.com.br.
  • Root: see Root at Wix, below.

The root domain (myshop.com.br) doesn’t accept a CNAME in DNS. The path is different:

  1. In the console, add the root domain.
  2. In the domain’s DNS, create an A record with the root domain’s name (@, or blank, depending on the panel) and, as the value, the IP the console shows in the domain’s table. Copy the IP from there, not from anywhere else: it’s the only record required for the root (there’s no TXT).
  3. Delete the other A and AAAA records for the same name. If an old AAAA is left, part of the traffic keeps going to the old server.
  4. If the domain has a CAA record, it must allow letsencrypt.org, the authority that issues the certificate.

When you add the root, the console offers to add www along with it (the box comes checked) and to choose what to do with the two addresses:

  • www redirects to the root (301);
  • the root redirects to www (301);
  • both serve the site.

The choice is the www setting of the site’s Redirects module: to-apex sends www to the root, to-www does the opposite, and off leaves both serving. You can change it later on the site’s Redirects page. Without the redirect, both addresses serve the same content.

www is a subdomain: it needs the CNAME and the two TXT records from the previous section.

On the root, Wix usually has a default A and AAAA record, pointing to its own servers.

  1. Edit the A that already exists on the root (name @ or blank) and change its value to the IP the console shows. Don’t create a second A: with two, part of the traffic goes to Wix.
  2. Delete the AAAA on the root, under Manage DNS Records. If Wix won’t let you delete it, the domain is probably still connected to a Wix site through Wix’s DNS servers. Disconnect the domain from the Wix site, or switch the connection to pointing; after that, the AAAA can usually be deleted. Another way out is to move the domain’s DNS to another provider (Registro.br, Cloudflare).
  3. Go back to the console and wait for the badge to change to Active.

Two things apply to the root:

  • It doesn’t go through a CDN or protection (such as Cloudflare with proxy): the visitor connects directly to the Owbase server.
  • Because of that, a good practice is to also connect www as a subdomain (previous section): add both domains to the same site, and the visitor arrives through either.
  • Subdomain: a few minutes after you create the records. It can take up to a few hours, because it depends on DNS propagation and on how long your provider takes to publish.
  • Root: within about 2 minutes after DNS answers the A record, plus the time to issue the certificate.

The badge next to each domain in the console:

Status What it means What to do
Waiting for DNS The records haven’t been found yet (or haven’t propagated yet). Check in the table that each record exists with the exact name and value. Wait for propagation.
Issuing certificate DNS is correct and the HTTPS certificate is being issued. Wait; it usually takes a few minutes.
Active The domain opens the site or function, with HTTPS. Nothing.
Error Issuing or validation failed. The reason appears below the domain. Fix what the reason points to. If that doesn’t solve it, remove the domain and add it again.
  • CNAME on the wrong name: the CNAME is for www (or the subdomain you added), not the whole domain, and points to domains.owbase.dev.
  • Old CNAME: if yours already points to dominios.owbase.dev, there’s nothing to change; the old name keeps working.
  • TXT with the domain repeated: many panels complete the name with the domain on their own. If you paste the full name from the table, the panel creates …myshop.com.br.myshop.com.br and validation can’t find the record. Enter the name without the end of your domain.
  • Old AAAA on the root: an AAAA (IPv6) record pointing to another server makes part of the traffic go wrong. On the root, keep only the A with the IP the console shows.
  • IP different from the console’s: an A with another IP (from a tutorial or another host) doesn’t reach Owbase, and the badge stays on Waiting for DNS. Use the value from the domain’s table.
  • CAA blocking: a CAA that doesn’t list letsencrypt.org prevents the root’s certificate.
  • Limit: “Limit of 5 custom domains per project reached. Remove a domain to add another.” (the number can differ if your project has its own limit).
  • Domain already in use: the domain is already connected to another site or function, in this or another project. Remove it from there first.
  • Platform domain: *.owbase.dev is not accepted as a custom domain.
  • Through the API: creating an external domain rule directly with proxy.createSiteRule or proxy.createFunctionRule is refused (owbase_custom_domain_unavailable). A custom domain can only be connected through the console.

In Settings → Custom domains, use Remove and confirm. The domain stops opening the site (or the function) and the slot returns to the project. You can delete the records in your DNS afterwards; without the domain in Owbase, the address stops opening the site.

The same flow as the console exists outside it, with the same rules (limit per project, one destination per domain, the same DNS records).

  • MCP: the chat connected to the Owbase MCP adds a domain, shows its status and the records to create, and removes it. Adding and removing ask for your approval in the chat app.
  • MCP tools: owbase_domains_add (adds; www picks the pair: redirect-to-apex, the default for a site, redirect-to-www, both or none), owbase_domains_status (status and records; without domain, lists the project’s domains) and owbase_domains_remove. The answer also carries the BIND file.
  • API: the /_owbase/domains route, on the API address (https://cloud.owbase.dev/_owbase/domains), accepts a project API key. GET lists the domains with their status and records, POST adds one and DELETE /_owbase/domains/<domain> removes it. The key needs rules.read and rules.write and, to add, sites.read (for a site) or functions.read (for a function).
Terminal window
curl -X POST https://cloud.owbase.dev/_owbase/domains \
-H "X-Owbase-Project: <PROJECT_ID>" \
-H "X-Owbase-Key: $OWBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"resourceType": "site", "resourceId": "<SITE_ID>", "domain": "myshop.com.br"}'

The response includes the records to create in DNS, like the console table. For a function, use "resourceType": "function" and its ID.

Creating the external domain rule directly with proxy.createSiteRule or proxy.createFunctionRule is still refused (owbase_custom_domain_unavailable): use the route above or the MCP.

Was this page helpful?