Question

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

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Accepted 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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.