Question

How to set up a portfolio website with many different projects such as Laravel, React?

Posted June 26, 2021 161 views
Getting Started

I’m trying to host my portfolio website. The body of the website is plain HTML/CSS, and I also have eight portfolio projects that I’d like to host either using subdomains or subdirectories. Technologies for these projects are HTML, CSS, JS, React, PHP, and Laravel. I’m trying to save money by using a $5/mo droplet.

Please bear with me because I just signed up for Digital Ocean yesterday, so I’m a newbie with cloud computing. I have shared hosting which uses Cpanel (where file manager is very convenient). Are Digital Ocean droplets similar? Any great resources that I should look at to get started?

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.

×
Submit an Answer
1 answer

Hi there,

Yes this is possible with a $5 Droplet. If you are planning to use Apache you could follow the steps here on how to setup multiple websites on the same server:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04

If you are planning to use Nginx rather than Apache, you could do the same thing with Nginx Server Blocks as described here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

If you prefer using a server control panel, you could use a free one like this one here which you could install with 1-Click:

https://marketplace.digitalocean.com/apps/cloudpanel-1?refcode=d21dd4c6ed65

Hope that this helps!
Regards,
Bobby

by Justin Ellingwood
When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server. In this guide, we'll discuss how to configure server blocks in Nginx on an Ubuntu 16.04 server.