---
title: Static files
slug: experience/static-files
docTags: 
createdAt: 2026-09-30T09:08:04.226Z
---

Since PXP 6.1, a web experience can serve its own static files from the root of its custom domain. Examples are robots.txt, favicons, ads.txt, or anything under /.well-known/.

## How it works

Put the file into the public folder of your experience:

:::BlockQuote
web/default/storefront/public/
:::

Use the `web` folder: the public folder is only served on the web, so the files don't need to ship with the native apps. (`default/storefront/public/` works as well, but then the files are also part of the app resources.)

A file at `public/<path>` is served at `https://<your-domain>/<path>`:

| File in your project                                  | URL                                               |
| ----------------------------------------------------- | ------------------------------------------------- |
| web/default/storefront/public/robots.txt              | https\://www\.example.com/robots.txt              |
| web/default/storefront/public/ads.txt                 | https\://www\.example.com/ads.txt                 |
| web/default/storefront/public/.well-known/tdmrep.json | https\://www\.example.com/.well-known/tdmrep.json |

Subfolders work, including folders that start with a dot (like .well-known). Publish the experience as usual and the files are live.
