Question

How to add projects to my site?

Hi, I’m new to using cloud servers and just finished a few web dev projects. I have a portfolio site in react and next.js that I’d like to upload to Digital Ocean. Next, I’d like to add my other react frontend and fullstack projects to this portfolio page. (My source code is on github, and I use MongoLab as cloud database service.)

Do I create multiple sites on Digital Ocean and link them to my portfolio page? I have no idea how to tackle the problem. Could you give me some guidance? Thanks!

Subscribe
Share

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

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.

I used the How To Set Up a Node.js Application for Production on CentOS 7 configuration for my Node.js applications a few times, and I recently helped to update the tutorial (because I think its a solid foundation).

I have a few sites in production (one is a Next.js app) that are essentially following the same setup. You could use this configuration to host multiple sites/Node.js applications, just by adding extra Node.js processes to PM2 and then the Nginx config.

You can start out with a single droplet (server) and use a reverse proxy like NGINX or HAProxy to route traffic based on domain or sub domains to your applications.