# Netlify 404 error

**URL:** <https://answers.netlify.com/t/netlify-404-error/84158>\
**Category:** Support\
**Tags:** deployment, vuejs\
**Created:** [January 28, 2023, 2:42pm UTC](https://answers.netlify.com/t/netlify-404-error/84158 "2023-01-28T14:42:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FahimeKhandan](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fahimekhandan/32/47284_2.png) [@FahimeKhandan](https://answers.netlify.com/u/FahimeKhandan)\
**Post date:** [January 28, 2023, 2:42pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/1 "2023-01-28T14:42:53Z")

</div>

hello there,  
I deployed my vite-markdoc project from GitHub with this adders:  
[https://lambent-sfogliatella-2c50d3.netlify.app/](https://lambent-sfogliatella-2c50d3.netlify.app/)

It gives a 404 error. i have index.html in my root directory. can’t finde the problem.  
project build has no problem in my local and this is my log on netlify:

1. Deploy site  
5:56:26 PM: Starting post processing  
5:56:26 PM: ────────────────────────────────────────────────────────────────  
5:56:26 PM: ​  
5:56:26 PM: Starting to deploy site from ‘dist’  
5:56:26 PM: Calculating files to upload  
5:56:27 PM: Post processing - HTML  
5:56:26 PM: 0 new files to upload  
5:56:26 PM: 0 new functions to upload  
5:56:26 PM: Section completed: deploying  
5:56:27 PM: Post processing - header rules  
5:56:26 PM: Site deploy was successfully initiated  
5:56:26 PM: ​  
5:56:26 PM: (Deploy site completed in 51ms)  
5:56:27 PM: Post processing - redirect rules  
5:56:26 PM: ​  
5:56:26 PM: Netlify Build Complete  
5:56:27 PM: Post processing done  
5:56:26 PM: ────────────────────────────────────────────────────────────────  
5:56:26 PM: ​  
5:56:26 PM: (Netlify Build completed in 2.2s)  
5:56:27 PM: Section completed: postprocessing  
5:56:27 PM: Caching artifacts  
5:56:27 PM: Started saving node modules  
5:56:27 PM: Finished saving node modules  
5:56:27 PM: Started saving build plugins  
5:56:27 PM: Finished saving build plugins  
5:56:27 PM: Started saving pip cache  
5:56:27 PM: Finished saving pip cache  
5:56:27 PM: Started saving emacs cask dependencies  
5:56:27 PM: Finished saving emacs cask dependencies  
5:56:27 PM: Started saving maven dependencies  
5:56:27 PM: Finished saving maven dependencies  
5:56:27 PM: Started saving boot dependencies  
5:56:27 PM: Finished saving boot dependencies  
5:56:27 PM: Started saving rust rustup cache  
5:56:28 PM: Site is live ✨  
5:56:27 PM: Finished saving rust rustup cache  
5:56:27 PM: Started saving go dependencies  
5:56:27 PM: Finished saving go dependencies  
5:56:27 PM: Build script success  
5:56:27 PM: Section completed: building  
5:56:28 PM: Uploading Cache of size 102.7MB  
5:56:29 PM: Section completed: cleanup  
5:56:29 PM: Finished processing build request in 14.659s  
thanks for any help

![image](https://global.discourse-cdn.com/netlify/original/3X/8/c/8cea9088a7aaeefd4dd0ac99ccad3138a27ad9d5.png)

---

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [January 28, 2023, 2:45pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/2 "2023-01-28T14:45:41Z")

</div>

> [@FahimeKhandan](#):
>
> i have index.html in my root directory. can’t finde the problem.

Do you mean there is an `index.html` in the input, or the output?

Have you downloaded the output to confirm that it does contain an `index.html` file?

See the instructions here:

> [@Is it possible to check my files if i manually uploaded them?](https://answers.netlify.com/t/is-it-possible-to-check-my-files-if-i-manually-uploaded-them/84090/6):
>
> @0xMoad I believe you’re just on the wrong page. It might be a little different because you’re doing manual deploys, but see if you can do the following… Go to Deploys… Select your most recent deployment (or whichever one you want to download the files for)… Select the download button…

---

<div class="post-metadata">

**Author:** ![FahimeKhandan](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fahimekhandan/32/47284_2.png) [@FahimeKhandan](https://answers.netlify.com/u/FahimeKhandan)\
**Post date:** [January 28, 2023, 2:51pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/3 "2023-01-28T14:51:48Z")

</div>

thanks for the fast reply!  
there is no index.html in the output file. what should i do?

---

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [January 28, 2023, 2:53pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/4 "2023-01-28T14:53:41Z")

</div>

> [@FahimeKhandan](#):
>
> what should i do?

Make sure there is one.

The easiest way being to test it locally and ensure that you’re seeing it output the files you expect.

---

<div class="post-metadata">

**Author:** ![FahimeKhandan](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fahimekhandan/32/47284_2.png) [@FahimeKhandan](https://answers.netlify.com/u/FahimeKhandan)\
**Post date:** [January 28, 2023, 3:06pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/5 "2023-01-28T15:06:44Z")

</div>

can you explain more about it. i have no clue where can i see my output in local and how to add index.html in output.

the project is working properly in localhost.

---

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [January 28, 2023, 3:13pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/6 "2023-01-28T15:13:42Z")

</div>

@FahimeKhandan It would depend on what you’re working with.

You haven’t mentioned any details and you only provided part of the build log so I can’t tell.

The only thing that I have to go off is that you’re trying to deploy the `dist` folder, which could be Vite, but could also be anything else that builds to a `dist` folder.

Generally speaking you would just locally run the same command that you have set as the `Build command` for Netlify.

So if you’ve only been using `npm run develop` locally, you would try `npm run build` locally and see what it generates.

---

<div class="post-metadata">

**Author:** ![FahimeKhandan](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fahimekhandan/32/47284_2.png) [@FahimeKhandan](https://answers.netlify.com/u/FahimeKhandan)\
**Post date:** [January 28, 2023, 3:17pm UTC](https://answers.netlify.com/t/netlify-404-error/84158/7 "2023-01-28T15:17:13Z")

</div>

got it!  
thank you so much for your help.
