简体   繁体   中英

How can i deploy my angular universal app on Namcheap hosting

I just build an angular universal app and i now want to deploy it to namecheap hosting. I have copied the dist folder to public_html directory on the server i have created node app in same directory but now i dont know what next i should do. I am stucked

if your backend have in node.js then it is not possible to deploy in shared server. You need to deploy on VPS or any private server. And you have to run your Angular app by using node.js.

And your app have to setup like this. enter link description here

and just run server.js using PM2 on VPS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM