> ## Documentation Index
> Fetch the complete documentation index at: https://docs.softr.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a Custom Domain to Your App

> How to apply a custom domain to your Softr app.

<Note>All plans come with 1 custom domain included. Additional domains can be purchased as add-ons.</Note>

## Overview

### About Custom Domains

When you publish your Softr app on the web for others to see, you need a dedicated place on the web for it to live. Web domains help you provide a brand-able, dedicated link or URL for people to be able to access your app anywhere in the world. There are two main types of domain: top-level domains (TLD) and subdomains.

* **Top-level domains** are structured like this: `example.com`

* **Subdomains** are structured like this: `portal.example.com`

Both TLDs and subdomains are supported by Softr, but who owns the domain also matters. Softr provides you with unlimited subdomains for your apps on our `softr.app`TLD, for example: `myportal.softr.app` The Softr TLD is owned by us, but you can add your own custom domain as well.

Your application can be published on:

* A subdomain provided by Softr – gets assigned to your application by default, right after you create the application. You can change this to be whatever you like as long as the subdomain is not taken by someone else. You can set this in the **Publish** button of Softr Studio.

* Your own top-level domain (TLD)

* Your own subdomain

## Adding a Custom Domain (Top-level domain)

In this guide, we'll show you how you can publish your application to your own custom domain (*example.com*). Custom domain boosts your credibility and helps to build up your brand.

### ****1. Add a custom domain****

In your Softr application, go to the [Settings](/application-settings/n3K2UEfpC9BpHgakMzUU5Y/general-settings/7YdGy1J8X2tjJSv8BGvWQU) **=> Custom Domain** page and add your own custom domain in the following format **"yourdomain.com"**. It will also add the full domain **"[www.yourdomain.com](http://www.yourdomain.com)"** by default.

<Frame caption="Adding a custom domain">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image1.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=212f025b9b3eb224200847c3a5ff9ed4" alt="Adding a custom domain" width="914" height="1026" data-path="publishing/images/add-a-custom-domain-to-your-app/image1.png" />
</Frame>

### ****2. Update the DNS****

Access your domain's DNS settings in your domain registrar's or DNS host's dashboard.

Every DNS host has its own way of updating DNS settings. Please, read the help documentation of your DNS host if you are not familiar with it yet. Also, check out our [FAQ](/faq/jUGRWwEkWw4akSEa5z5EDn/domain-setup/hZQgTBnTWKi7KEjurVHqgd) on domain setup.

**Add an A record and CNAME**

You will need to create an **A record** and a **CNAME**

* For the **A record**, set the host to **@;**

* For the **CNAME**, set the host to **www ;**

* Input the IP address we've provided for you: “**35.158.87.123”**

<Warning>
  Do not edit existing records in your DNS - you should **add new CNAME and A records** for your Softr app.
</Warning>

<Frame caption="Custom domain setup">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image2.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=69aa0e9ba578fd075b8266ec090b652b" alt="Custom domain setup" width="728" height="940" data-path="publishing/images/add-a-custom-domain-to-your-app/image2.png" />
</Frame>

To verify that your DNS settings are correct, and that your domain is correctly pointing to Softr, **check the status** of your domain name in your DNS settings.

<Tip>DNS changes may take a few minutes for your A name records to propagate everywhere. If you still run into any issues with your domain verification, reach out to your DNS provider to make sure the records are set correctly.</Tip>

### **3. Publish your application to your custom domain**

Now if you click on the Publish button within your Softr studio's top navigation bar, you should see your custom domain in the menu that opens. Clickthe **Publish** button, and you are almost done.

<Frame caption="Publishing the custom domain">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image3.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=9b7f340e75d1b601823d00d46a68afec" alt="Publishing the custom domain" width="750" height="932" data-path="publishing/images/add-a-custom-domain-to-your-app/image3.png" />
</Frame>

It may take **up to 48 hours** before changes are successfully made from your DNS host, so that you are able to open your application with your domain.

<Tip>When the DNS records in your **Settings => Custom Domain** page show up as **Connected** in green color, your domain is functional.</Tip>

## Adding a Custom Subdomain

In this guide, we'll show you how you can publish your application to your own custom **subdomain** (e.g. *myportal.example.com*).

### **1. Add a custom subdomain**

In your Softr application, go to the [Settings](/application-settings/n3K2UEfpC9BpHgakMzUU5Y/general-settings/7YdGy1J8X2tjJSv8BGvWQU) **=> Custom Domain** page and and add your own custom subdomain in the following format **"my.domain.com"**.

<Frame caption="Adding a custom subdomain">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image4.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=258b95aeeb34b06199c91f91382d067d" alt="Adding a custom subdomain" width="732" height="764" data-path="publishing/images/add-a-custom-domain-to-your-app/image4.png" />
</Frame>

<Tip>If you already have a domain purchased from a provider, you can add as many subdomains as you like with that provider for free. You just need to add the DNS records on the provider side. Each custom subdomain still counts towards your custom domain plan limit in Softr. </Tip>
<Note>Custom domain and extra custom domain slots depend on the subscription plan. See [plan comparison](https://www.softr.io/pricing). </Note>

### **2. Update the DNS**

Access your domain's DNS settings in your domain registrar's or DNS host's dashboard.

Every DNS host has its own way of updating DNS settings. Please, read the help documentation of your DNS host if you are not familiar with it yet. Also, check out our [FAQ](/faq/jUGRWwEkWw4akSEa5z5EDn/domain-setup/hZQgTBnTWKi7KEjurVHqgd) on domain setup.

**Add an A record**

You will need to create an **A record** as follows:

* For the **A record**, set the host to the subdomain part of the URL ("my" in our example)**;**

* Input the IP address we've provided for you: “**35.158.87.123”**

<Warning>
  Do not edit existing records in your DNS - you should **add a new A record** for your Softr app.
</Warning>

<Frame caption="Custom subdomain setup">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image5.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=2ddbd7a6172539a499b69e87735d6ed2" alt="Custom subdomain setup" width="722" height="918" data-path="publishing/images/add-a-custom-domain-to-your-app/image5.png" />
</Frame>

To verify that your DNS settings are correct, and that your subdomain is correctly pointing to Softr, **check the status** of your domain name in your DNS settings.

<Tip>DNS changes may take a few minutes for your A name records to propagate everywhere. If you still run into any issues with your domain verification, reach out to your DNS provider to make sure the records are set correctly.</Tip>

### **3. Publish your application to your custom subdomain**

Now, if you click on the **Publish** button within your Softr studio's top navigation bar, you should see your custom subdomain in the menu that opens. Clickthe **Publish** button, and you are almost done.

<Frame caption="Publishing the custom subdomain">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image6.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=ef5caec522e3123ff2401ccf08c0d570" alt="Publishing the custom subdomain" width="776" height="894" data-path="publishing/images/add-a-custom-domain-to-your-app/image6.png" />
</Frame>

It may take **up to 48 hours** before changes are successfully made from your DNS host, so that you are able to open your application with your subdomain.

<Tip>When the DNS records in your **Settings => Custom Domain** page show up as **Connected** in green color, your subdomain is functional.</Tip>

If your subdomain is not working correctly after 48 hours, contact your domain provider’s support. If your DNS settings are correct and you are still experiencing issues with your published application, contact us and we'll assist.

<Frame caption="Subdomain not connected">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image7.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=837da42a8086d455749686b09d089f51" alt="Subdomain not connected" width="708" height="908" data-path="publishing/images/add-a-custom-domain-to-your-app/image7.png" />
</Frame>

<Tip>**EXAMPLE:** Please, check out our example tutorial for a Namecheap subdomain setup [here](/publishing/9qTmU2Lj8Gnpr1Ue6dEAkX/tutorial-how-to-set-up-a-custom-subdomain-for-namecheap/3xKMZspFwCRukmmLYE649b).</Tip>

## Troubleshooting when a domain does not work correctly

If your domain is not working correctly after 48 hours:

* **CNAME** should point to your custom domain, not \{domain}.softr.app

* If your domain registrar doesn’t allow for @ to be used in **A Record**, Leave A record value empty, and add **www** for **CNAME**

* SSL is being installed automatically once you point to the right domain **and** **[Publish the app](/publishing/9qTmU2Lj8Gnpr1Ue6dEAkX/publishing-your-softr-app/gRrb1u7eLmRTrXyg3UNGkQ)**.

If your DNS settings are correct and you are still experiencing issues with your published application, contact your domain provider’s support, or contact us and we'll assist.

<Frame caption="Not connected">
  <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image8.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=4632e4d7c5f4b0685e188e3848e7aa4e" alt="Not connected" width="892" height="762" data-path="publishing/images/add-a-custom-domain-to-your-app/image8.png" />
</Frame>

## FAQ

Below are some common questions we get about custom domains. Click the toggle to reveal each answer.

<AccordionGroup>
  <Accordion title="I already have a website, but I want to publish my Softr app to a custom domain, what should I do?">
    If your website is website.com, the most common approach is to add a subdomain to Softr like portal.website.com or app.website.com. This ensures they share the same top-level domain, while having distinct URLs based on their purpose. You’ll begin to notice that many web apps you use on a daily basis do this as well.
  </Accordion>

  <Accordion title="My app says that the connection is not secure, what should I do?">
    If you have waited 24 hours and the connection you still cannot access the app, try these steps:

    * Check the website URL in [https://dnschecker.org/](https://dnschecker.org/) to see any issues.

    * Make sure you have the right DNS with the right IP address: **35.158.87.123**

    * Try removing the domain from Softr and re-adding to re-initialize the SSL certificate

    * Make sure the app is published

    * Be sure to allow cookies for your site in your browser
  </Accordion>

  <Accordion title="Will a subdomain overwrite the site I have on my top-level domain, or vice versa?">
    No, subdomains and top-level domains are handled differently and are seen as separate sites by the DNS.
  </Accordion>

  <Accordion title="What if I’m using Cloudflare with Softr for DNS/SSL?">
    If you are using Cloudflare with Softr, please use **DNS Only** Records instead of **Proxied** ones. See the image below.

    <Frame>
      <img src="https://mintcdn.com/softr-2b8a27e1/DJS8L7o0khZLiLBC/publishing/images/add-a-custom-domain-to-your-app/image9.png?fit=max&auto=format&n=DJS8L7o0khZLiLBC&q=85&s=bfacf6cec4157169bd454a890b45b29e" alt="Notion image" width="582" height="211" data-path="publishing/images/add-a-custom-domain-to-your-app/image9.png" />
    </Frame>
  </Accordion>

  <Accordion title="Can I enable DDOS protection on my site?">
    Softr provides DDOS protection built-in to our servers.
  </Accordion>

  <Accordion title="Can I self-host my Softr app on my own server?">
    No, we do not currently offer self-hosting.
  </Accordion>
</AccordionGroup>
