I have tried to change build command and base directory still unable to deploy to the web

https://thetreelife.netlify.app [Scout456’s team] thetreelife
12:07:05 PM: Build ready to start

12:07:07 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)

12:07:07 PM: build-image tag: v4.10.1

12:07:07 PM: buildbot version: 7e449fda4d95fa42451b88186ca7054116649237

12:07:07 PM: Building without cache

12:07:07 PM: Starting to prepare the repo for build

12:07:07 PM: No cached dependencies found. Cloning fresh repo

12:07:07 PM: git clone GitHub - Scout456/TreeLife

12:07:08 PM: Preparing Git Reference refs/heads/main

12:07:09 PM: Parsing package.json dependencies

12:07:10 PM: No build steps found, continuing to publishing

12:07:10 PM: Starting to deploy site from ‘’

12:07:10 PM: Creating deploy tree

12:07:10 PM: Creating deploy upload records

12:07:10 PM: 0 new files to upload

12:07:10 PM: 0 new functions to upload

12:07:10 PM: Starting post processing

12:07:10 PM: Post processing - HTML

12:07:10 PM: Post processing - header rules

12:07:11 PM: Post processing - redirect rules

12:07:11 PM: Post processing done

12:07:12 PM: Uploading Cache of size 197.7MB

12:07:13 PM: Finished processing build request in 6.467269044s

12:07:14 PM: Site is live :sparkles:

Hi @Scout456 , you are welcome to the Netlify Support Forum. Sorry to hear you are having problems deploying.
Your website is deploying fine and you don’t need to set any build command since its a basic static HTML site.
The reason why your site is showing the Page Not Found is because there is no index.html file in the root of your project.

For basic HTML sites Netlify attempts to serve only index.html in case you try to load your site https://thetreelife.netlify.app

Based on your repository it seems tree.html is supposed to be your homepage. Kindly rename tree.html to index.html.
Also go through all the pages markup and change all links that point to tree.html to just a forward slash /
For example:

<a href="tree.html" class="horiz-nav-link">Home</a>

should now become:

<a href="/" class="horiz-nav-link">Home</a>

Another complex alternative will be to use redirects if you still want to maintain the filename as tree.html.
Kindly visit the link below to learn about how to configure redirects on Netlify if you want to maintain the filename as tree.html.

Hope this helps.

I just noticed that thank you.

1 Like

Glad to know you figured it out. Let me know if your site works successfully after the changes.

Once that change was made it worked.
Thanks again for your help.:+1:

1 Like