404s on New Site

Hi,

Last week, I set up a new site with a custom DNS. I’m still getting 404s when I visit the Netlify and custom URLs. I’ve set up similar sites with no issues.

Can someone please check this out for me?


shorties.netlify.com
Default subdomain

shorties.caughtmyeye.cc
Primary domain

Netlify DNS

Thanks!

Hi, @marklchaves.

It looks like the site is nested inside a directory. This can be confirmed by downloading the deployed files using the button in the following screenshot:

download-deploy-button-small

The following URL does work (with the subdirectory added):

https://shorties.caughtmyeye.cc/public/

This issue can likely be resolved by changing the publish directory to “public” here:

https://app.netlify.com/sites/shorties/settings/deploys#build-settings

Then the “public/” will no longer be required in the URL above and the “pathless” URL below should work:

https://shorties.caughtmyeye.cc/

(I quoted “pathless” because, technically speaking, there is still a path of “/” but “public/” would no longer be required.)

If there are other questions or concerns, please let us know.

2 Likes

Excellent. I obviously overlooked the /public dir. Much appreciated. Working beautifully now.

Thank you!! :slight_smile: