Hosting HTML Help!

I have exported my XD project following the responsive tutorial. If I open the HTML file on chrome. It’s works perfectly fine. But when I uploaded that file to netlify and cloudflare pages to host it, neither of them worked. They both gave me 404 errors. Can someone help?