Question

404 on Angular app after deployment

I deployed an Angular app on Apps Platform. It shows a successful deployment, but I get a 404 when trying to access the app. I have tried setting catchall_document to index.html as suggested in similar questions, but that has no effect.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

Where is the index.html file generated at? If it is in a directory like dist, what you could try is in your component settings, to set the Output Directory to dist/name replacing name with the actual name of the directory.

Best,

Bobby