Hosting

does i can host angular 2 project here using only free hosting service.if answer is yes then suggest me way or steps please…

The only way is to try by yourself.

I think you can! As far as I know, Angular 2 is just a browser Javascript framework, which means any service which can serve static HTML files can be used to host a frontend Javascript application.

But when hosting such apps with us, there are few things to be considered:

  • Our servers don’t have NodeJS, NPM, Yarn, Gulp, Webpack or other development tools for Javascript installed. So any pre-processing or minification must be done somewhere else before uploading to code to your account.
  • If your application uses a backend service, note that the only backend programming language supported is PHP. Also, if you’re hosting the backend service with us, it MUST be on the same domain as the frontend application. So you cannot put the frontend on www.example.com and the backend on api.example.com (the backend should then also be on www.example.com).

And as for “how”, just pre-process the code on your own computer and upload the files over FTP. Easy peasy.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.