Deploy Your First Angular App in Shared Hosting using Cpanel.
Adding the same old WordPress in shared hosting is too boring, let us try deploying your dynamic angular application.
We can deploy our web apps in shared hosting for a start. We can move to large VPS hosting once we get the hang of the app and have a good budget.
Step 1:
Create your new angular application in your desired folder using the command below.
ng new AppName
Now wait for a few seconds the app will get created. Don’t forget to enable the routing option, because we are going to see a very common issue.
Step 2:
Now create some components using ng g c componentName to test our routing issue.
Step 3:
Since you opted for the routing feature, you have the app.routing.ts file (/src/app/app-routing.module.ts)