Deploy Ionic 4 App in IIS

Hello, guys.

I Publish an app in IIS Windows 10, from the IIS the application works, but if I run it from the internet browser, the following error is displayed:

HTTP Error 404.0 - Not Found.

Hey,

I was able to resolve the issue by following the instructions within the Deploy section of Angular’s documentation.

I modified the BASE HREF to match the relative path of my application. I also had to write a URL rewrite rule within IIS.

I also changed the manifest.json so that it was aligned with the modifications made to the BASE HREF.

Hello daniel, thank you very much.

I will keep your recommendation in mind. :+1:

1 Like