> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/app/download/progressive-web-apps/custom-domain-for-pwa.md).

# 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.appmysite.com/app/download/progressive-web-apps/custom-domain-for-pwa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
