# Custom Domain

Your application can be published on a subdomain provided by Softr, custom subdomains, or your own custom domain. A subdomain gets assigned to your application by default, right after you create the application.&#x20;

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

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

In the application [Studio](https://softr.gitbook.io/softr-documentation/studio)**,** go to the **Settings => 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.

![Adding a custom domain](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-Mfmity1nWJ5Of2mBup8%2F-MfmooDTN8amKyH5Yexm%2Fcustom%20domain-b.png?alt=media\&token=d9a16f7f-a3cf-4fdc-921b-feb6a795a39a)

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

Access your domain's DNS settings in your domain registrar's or DNS host's dashboard.&#x20;

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](https://softr.gitbook.io/softr-documentation/faq/domain-setup) on domain setup.

#### Add an A record and CNAME <a href="#add-2-a-records" id="add-2-a-records"></a>

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 (see below under **Value**).

![Custom Domain Setup](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-Mi6c8GmJCAZNZcKkxnV%2F-Mi6cLjaebMuXv0nwoz7%2Fcustom-domain-b.png?alt=media\&token=d03004a8-97ca-4584-aa29-bd00a9859494)

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.

{% hint style="info" %}
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.
{% endhint %}

### 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 open&#x73;**.** Click the **Publish** button, and you are almost done.

![Publishing the custom domain](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-McxrTjBUoRg5lS4OS1g%2F-McxuRwbcHm3wLsCrQ_e%2Fdomain_publish_b.png?alt=media\&token=65b71e79-0108-41dc-8141-9ec1d89efb8a)

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.

{% hint style="success" %}
When the DNS records in your **Settings => Custom Domain** page show up as **Connected** in green colo&#x72;**,** your domain is functional.
{% endhint %}

If your domain 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.

![Not Connected](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-Mfmity1nWJ5Of2mBup8%2F-MfmpUru2LHYvgFgadxT%2Fnot-connected-b.png?alt=media\&token=bdb03b1d-5375-4edf-bb21-ccfa4aa3225a)

{% hint style="info" %}
**EXAMPLE:** Please, check out our example tutorial for a Namecheap domain setup [here](https://softr.gitbook.io/softr-documentation/publishing-applications/custom-domain/example-namecheap-domain-setup).
{% endhint %}
