Report this

What is the reason for this report?

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

Posted on June 26, 2021

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?



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!

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.
0

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.