Pages source files fetched from wrong location

Hey guys,

when I serve my website without Custom Domain everything works fine. When I add a custom domain the network requests for the source files go to that website, while the files are still hostet on github? The page remains empty.

CNAME file contains the custom domain name. DNS points to github ip adress ( using A Record. My hoster only provides the option of setting 1 A-Record, could this be a problem or are multiple A-Records just used as fallback?

Appreciate the help :slight_smile:

Hello @Ka-Repo and welcome here,

Setting a custom domain on your Pages site usually also changes the routing logic for your site.

In your specific example you went from to

You will want to update your site so resources are fetched at the root (/) of your site instead of under /metaplex.

I hope it helps,

1 Like

Hi @yoannchaudet,
thanks for the reply!

EDIT: You saved my day. Had some prefix in my deploy command in my package.json.

1 Like