> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.wpcompress.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Setting Up a Custom CDN Domain

# Using a Custom CDN Domain

In live optimization mode, your images and assets will load from *.zapwp.com - which is technically unbranded; however we strongly recommend using your own website's domain for serving images and scripts.

The most common domain we see is cdn.yoursite.com - and it can be set up simply within the plugin under **CDN Delivery** and scrolling to **Custom CDN Domain**

![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2023-06-14-at-1058_b48o3a.png)

There you can use any domain you own to serve the optimized images and assets by simply creating a subdomain on the domain you wish to use in your DNS or hosting panel, then adding a new CNAME record pointing to the url specified in the plugin. 


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2021-04-08-at-1001_11hy7rd.png)


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2021-04-08-at-1002_1a0oenl.png)

After the DNS has propogated (can take up to 48 hours globally) you may enter the full domain into the field and hit save - you may then turn on the feature as desired.


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2021-04-08-at-1004_3ooa2z.png)

||| Be sure to test loading your site to confirm the domain has properly propogated and is linked.

### Troubleshooting

* If images are not properly loading, be sure to check if the **DNS has fullly propogated** ([we typically check here](https://www.whatsmydns.net/#CNAME/)) and try clicking reset and relinking once all regions are good to go!

* Another possibility is if you have the subdomain **previously linked to Bunny.net** (formerly BunnyCDN) as we run the initial connection through the system. If this is the case, simply remove the subdomain from Bunny.net and link again.

|| If you're still getting assets loading from the *.zapwp.com domain be sure you **toggle the feature ON!**
