# Publishing to the Web (Legacy Apps)

*Skill Level: Intermediate*

## Before You Begin

* Only Account Owners can add/change Domains in account settings.
* Know the basics of [domains](https://help.adalo.com/glossary#domain), [subdomains](https://help.adalo.com/glossary#subdomain), [DNS Records](https://help.adalo.com/glossary#dns-record), and [DNS Providers](https://help.adalo.com/glossary#dns-provider).
* Adalo subdomains **only** apply to Desktop Web apps, **not** to PWA (mobile) apps.
* Custom domains apply to both Desktop web apps and PWA (mobile) apps.
* Custom Domains can be used for either Desktop Web Apps or PWAs, but not at the same time.
* If you plan to use a Custom Domain, make sure you have purchased the domain name already.

{% hint style="warning" %}
Your custom domain cannot include the phrase "adalo.com" or "adalo". These checks have been added to ensure non-Adalo affiliates do not impersonate the organisation. Your domain will NOT connect if your custom domain includes adalo or adalo.com.
{% endhint %}

* You **do not** need a paid Adalo plan to use an Adalo subdomain for publishing.
* You **do** need a paid Adalo plan to use a Custom Domain for publishing.

## Walkthrough

{% hint style="info" %}
Be sure to choose the correct tab below for the domain setup you are wanting to use!
{% endhint %}

{% tabs %}
{% tab title="Use an Adalo Sub-domain (Free)" %}
Every Adalo account comes with its own subdomain such as **example.adalo.com**. Your subdomain is usually your team's name at first, but you can change this at anytime using these steps:&#x20;

**1.)** While logged into Adalo, click on the profile/account icon in the upper right corner of the Adalo Builder, then click on **Settings**.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FMGlGObZwGCa7XalSJTDd%2FScreen%20Shot%202021-12-06%20at%2011.00.21%20AM.png?alt=media\&token=a464b185-3302-49cf-9950-ded61058f125)

**2.)** In the popup that appears, click on the **Domains** tab.&#x20;

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FT4Q4s4Uyk9QqO50LyAWH%2FClick%20Domain.png?alt=media\&token=036185d8-43e0-41cf-9d34-5346170dccd0)

**3.)** If you are a part of multiple teams, choose the Team you want to edit the subdomain for in the dropdown, then click **Edit** next to the subdomain.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FsYbUrcPziuwPV6zpkp2z%2FEdit%20Adalo%20Subdomain.png?alt=media\&token=b7f538a3-420f-4e3c-8100-60dcdb635927)

**4.)** The URL will change to a text box where you can change the subdomain. \
\&#xNAN;*Note that it can only contain numbers, letters, and dashes and that you may only use subdomains that are not already taken by someone else.* \
Once you're finished, click **Save**.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FiFfmSRarUDTYjszemXC6%2FSave%20Adalo%20Subdomain.png?alt=media\&token=7745d114-3897-4ca0-a6be-c6d6e3f55d1e)

{% hint style="info" %}
It's important to note that this subdomain applies to **all of your Desktop web apps**. While you can't change the subdomain for each individual app if you're using an Adalo domain, you can change the ending URL slug. Let's do that now.&#x20;
{% endhint %}

**5.)** To change the ending of the URL (commonly called a slug), click on the **Publish** button on the left toolbar in the Adalo Builder.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2Fj4XjJ0Mi1va5z6H5mE0e%2FScreen%20Shot%202021-12-06%20at%2011.11.25%20AM.png?alt=media\&token=6f2f2dce-6374-45db-8417-41c2bc38bdcf)

**6.)**  Here, you can see the domain settings for your Desktop web app. You can change the slug by changing the value in the text input. When finished, click **Save**.

{% hint style="info" %}
If you do not see an option to change the URL slug like below, your app is a PWA (mobile app) instead of a Desktop app and does not support changing the URL slug.
{% endhint %}

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FB91SVeM8VPGx2b6RAmCZ%2Fspaces_-LhGHkPsv15svPIU5I7C_uploads_Iykf5kdA1gPirRgohfVF_Screen%20Shot%202021-12-06%20at%2011.webp?alt=media&#x26;token=2e7426c0-6af0-4cb7-8157-2399bdad4f05" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Use a Custom Domain (Paid)" %}
{% hint style="warning" %}
While you can setup Custom Domains on the free trial, Actions will not complete is using the Custom Domain Link until you [upgrade](https://www.adalo.com/pricing).
{% endhint %}

**1.)** While logged into Adalo, click on the profile/account icon in the upper right corner of the Adalo editor, then click on **Settings**.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FMGlGObZwGCa7XalSJTDd%2FScreen%20Shot%202021-12-06%20at%2011.00.21%20AM.png?alt=media\&token=a464b185-3302-49cf-9950-ded61058f125)

**2.)** In the popup that appears, click on the **Domains** tab.&#x20;

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FT4Q4s4Uyk9QqO50LyAWH%2FClick%20Domain.png?alt=media\&token=036185d8-43e0-41cf-9d34-5346170dccd0)

**3.)** In the **Custom Domains** section, type in the subdomain you wish to use for your app and click **Add**. \
\&#xNAN;*Note that you will need to have already purchased your custom domain and set it up with your* [*DNS Provider*](https://help.adalo.com/glossary#dns-provider)*.*&#x20;

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2F9GOi0KRSNNtgnZb5NUoT%2FAdd%20custom%20domain.png?alt=media\&token=228f739b-13da-43d8-82c5-aa4caf4593fb)

{% hint style="info" %}
If you are trying to set up your domain to be formatted like "mydomain.com" you'll need to make sure you are adding the "www" so it looks like this:  "[www.mydomain.com](http://www.mydomain.com)".&#x20;
{% endhint %}

**4.)** Upon clicking **Add**, Adalo will generate some information for you to add a DNS Record to your domain settings with your DNS Provider. This process looks different for each domain provider, so check the links below for how to do this for your provider.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2F65dofsEXOaVBzUIYsymH%2FCustom%20Domain%20Settings.png?alt=media\&token=5819ed74-92ce-4b57-89f4-dc643037510e)

**5.)** Once you have added the record with your domain provider, return to Adalo and click **Test Setup**.&#x20;

{% hint style="info" %}
**Note:** If you see the error below, please note that it may take up to 24 hours for DNS records to propagate, depending on your provider. Typically this takes 30 minutes or less.

<img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FgdzYAMgLb8qmqRWGV2DQ%2FScreen%20Shot%202022-12-13%20at%209.31.41%20AM.png?alt=media&#x26;token=0d2a8f5e-9e47-48f8-b394-2714cb34f72b" alt="" data-size="original">
{% endhint %}

*Note that it may take up to 24 hours for DNS records to propagate, depending on your provider. Typically this takes 10 minutes or less.* &#x20;

**6.)** You should get a success message that looks like this, where you can click **Finish Adding Domain**:

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2F4aGePsJTMa7CNMePKhhO%2FSuccess-custom%20domain.png?alt=media\&token=cfada132-f320-42b9-b404-275e2f87d336)

**7.)** For both Desktop web apps and PWS (mobile) apps, you can use your Custom Domain by clicking the **Publish** button on the left toolbar of the Adalo Editor.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2Fj4XjJ0Mi1va5z6H5mE0e%2FScreen%20Shot%202021-12-06%20at%2011.11.25%20AM.png?alt=media\&token=6f2f2dce-6374-45db-8417-41c2bc38bdcf)

**8.)**  For Desktop web apps, use the dropdown to select the Custom Domain you just added, or you can add another Custom Domain from here as well. \
When finished, click **Save**. \
\&#xNAN;*Note that for Desktop web apps, you can also change the URL slug here as well.* \
The **Published On** section tells you where the app is currently published. \
After saving changes to your domain, you may need to refresh the page to see the changes reflected under **Published On**.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FWIKNQVV3YcYFuBSfknSb%2FScreen%20Shot%202021-12-06%20at%2012.49.09%20PM.png?alt=media\&token=e0d574c8-e738-4992-adc2-75e539016db3)

**9.)** For PWA (mobile) apps, click on the **Progressive Web App** dropdown, then use the Domain dropdown to select the domain you just added or add a new one. \
\&#xNAN;*Note that Adalo subdomains such as yourteam.adalo.com are not available for use on PWA (mobile) apps.* \
When finished, click **Save**. Note that for PWA apps, you cannot change the URL slug. \
The **Published On** section tells you where the app is currently published.\
After saving changes to your domain, you may need to refresh the page to see the changes reflected under **Published On**.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FPl9leSECLwm3GcN1ZLGc%2FScreen%20Shot%202021-12-06%20at%2012.51.46%20PM.png?alt=media\&token=7ea2c2f1-46c6-4776-86f6-5c744d61dff5)

### How to set up a CNAME record with popular providers:

* [INOS](https://www.ionos.com/help/domains/configuring-cname-records-for-subdomains/configuring-a-cname-record-for-a-subdomain/?utm_source=search\&utm_medium=global\&utm_term=cname\&utm_campaign=HELP_CENTER\&utm_content=/help/domains/using-domains/)
* [123-reg](https://www.123-reg.co.uk/support/domains/how-do-i-change-the-nameservers-for-my-domain-name/)
* [AWS](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-name-servers-glue-records.html)
* [BigRock](https://manage.bigrock.in/kb/servlet/KBServlet/faq471.html#defcname)
* [Bluehost](https://my.bluehost.com/hosting/help/cname)
* [Crazy Domains](https://www.crazydomains.com.au/help/how-to-add-and-update-cname-records/)
* [DreamHost](https://help.dreamhost.com/hc/en-us/articles/215414867)
* [easyDNS](https://kb.easydns.com/knowledge/how-to-make-a-dns-entry/)
* [eNom](https://www.enom.com/kb/kb/kb_0002_change-host-records.htm?Highlight=cname)
* [FastDomain](https://my.fastdomain.com/cgi/help/cname)
* [GoDaddy](https://in.godaddy.com/help/add-a-cname-record-19236?)
* [Google Domains](https://support.google.com/domains/answer/9211383?hl=en)
* [HostGator](https://www.hostgator.com/help/article/manage-dns-records-with-hostgatorenom)
* [Hover](https://help.hover.com/hc/en-us/articles/217282457-Managing-DNS-records-#h_5eab4aa7-b044-4cc6-a3c0-5869f583edc8)
* [MelbourneIT](https://support.melbourneit.com.au/articles/help/Creating-CNAME-Zone-Records/?q=cname\&fs=Search\&pn=1)
* [Names.co.uk](https://www.names.co.uk/support/domains/1156-changing_your_domains_dns_settings.html)
* [Namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/9646/2237/how-to-create-a-cname-record-for-your-domain)
* [Network Solutions](http://www.networksolutions.com/support/cname-records-host-aliases-2/)
* [Register.com](https://knowledge.web.com/subjects/article/KA-01097/en-us#Rcom)
* [SiteGround](https://www.siteground.com/kb/how_to_change_my_cname_record/)
* [TierraNet](https://www.tierra.net/faq/#Q14)&#x20;
* [Wix](https://support.wix.com/en/article/adding-or-updating-cname-records-in-your-wix-account)
  {% endtab %}
  {% endtabs %}

## Learn More

* You can learn more about DNS records, domain names, hosting, and subdomains here with this very good [guide ](https://www.godaddy.com/garage/dns-records-a-beginners-guide/)by GoDaddy.
* Mastering adding and managing DNS records with your domain provider can be a very valuable skill to have, especially when you need to add them for email marketing, payment processors, and website hosting services.
* You cannot use the same subdomain for two different apps, but you can create as many subdomains as you like. For instance, if you have a web version and a mobile version of your app. You may have a web.yourapp.com and an app.yourapp.com subdomain.
* In instances such as [Sign in with Google](https://help.adalo.com/~/revisions/kmzOxqjy7C9sXGVjDKKb/component-basics/marketplace-components/sign-in-with-google), [Sign in with Apple](https://help.adalo.com/~/revisions/kmzOxqjy7C9sXGVjDKKb/component-basics/marketplace-components/sign-in-with-apple), and [In App Purchases](https://help.adalo.com/~/revisions/kmzOxqjy7C9sXGVjDKKb/component-basics/marketplace-components/single-use-in-app-purchases), you may need to use your Adalo or custom domain during the setup of those features.
* You cannot use Adalo subdomains on PWA apps, only on desktop web apps. You can however, use custom subdomains on PWA apps. Below is a table to help make this a bit clearer:

| Use               | Adalo Subdomain | Custom Subdomain |
| ----------------- | :-------------: | :--------------: |
| Desktop Web Apps  |        ✅        |         ✅        |
| PWA (Mobile) Apps |        🚫       |         ✅        |
| Native Apps       |       N/A       |        N/A       |

## Help

If you need additional help with this article, you can always ask in our[ community forum](https://forum.adalo.com/)! Be sure to paste the link to this article in your post as well!

Do you have a tutorial or help doc request? [Let us know!](https://ideas.adalo.com/tutorial-requests)
