# Custom domain for PWA

## How to set up a custom domain for my PWA?

You can connect your PWA to your own custom domain to replace the default AppMySite URL. This provides a more professional and branded experience for users accessing your web app.

{% hint style="success" %}
A URL is the web address you type in your browser to open a website or a specific page on the internet.
{% endhint %}

{% embed url="<https://scribehow.com/shared/Customize_your_domain__tCVMHzCIRZCF9y0LvfxDsg>" %}

#### Step 1: Go to the “Download” section

* From the app dashboard, click on [**Download**](https://app.appmysite.com/app/download) in the side menu
* Click on the Share button on the Progressive Web App card
* On the Progressive Web App screen, click Domain setup

#### Step 2: Enter your domain details

* Add your main domain (e.g., yoursite.com)
* Enter a subdomain (e.g., app.yoursite.com) where the PWA will be hosted
* Click Save

{% hint style="success" %}
This subdomain will serve as the access point for your Progressive Web App.
{% endhint %}

#### Step 3: Update DNS records in your domain provider

* Log in to your DNS provider’s dashboard (e.g., GoDaddy, Namecheap, Cloudflare)
* Create a CNAME record with the following values:
  * Host/Name: the subdomain you entered (e.g., app)
  * Value/Target: the CNAME destination provided in your dashboard
  * TTL: set to Auto
  * Proxy status: set to “DNS only” if using Cloudflare

{% hint style="warning" %}
You’ll need access to your DNS provider’s settings to complete the setup.
{% endhint %}

#### Step 4: Verify domain ownership

* Return to the domain setup screen
* Click Verify to confirm the domain is correctly configured

{% hint style="warning" %}
DNS propagation may take time. If verification fails initially, wait and try again after a short period.
{% endhint %}

#### Step 5: Activate the domain

* Once verification is successful, click Activate
* Your PWA will now be accessible via your custom domain

{% hint style="warning" %}
Custom domain support for PWAs is only available on the Premium plan.
{% endhint %}
