When building new projects, it’s usually annoying to repeatedly set up stuff like web servers, databases, etc. It’s often expensive or tedious to set up and manage. That’s where open-source PAASs came in. They are free and often have an easy to use app/database deployment & web server manager.'
Companies Mentioned
When building projects one of the annoying parts is setting up stuff like web servers, relational databases, caching, etc. It’s often expensive (Heroku charges $25/month for their 1GB instance, the same server is 5/month on DigitalOcean) or tedious to set up and manage. I no longer enjoy spending hours and days setting up a server, building tools, sending code to the server, building it, getting an SSL certificate, installing it, update nginx over and over again whenever I have a new project.
That’s where open-source PAASs came in. They often have an extremely easy-to-use app/database deployment & web server manager. Examples: , , etc.
For example, with CapRover, you can host the below with one click:
Databases and Database GUIs. Eg PostgreSQL, Redis, MySQL, MongoDB, etc.
Email hosting, newsletter & mailing list solutions.
NOTE: do not change the port mappings. CapRover only works on the specified ports.
You will see a bunch of outputs on your screen. Once the CapRover is initialised, you can visit //[IP_OF_YOUR_SERVER]:3000 in your browser and log in to CapRover using the default password captain42. You can change your password later. However, do not make any changes in the dashboard. We'll use the command-line tool to set up the server.
Set up DNS
Let's say you own mydomain.com. Set *.something.mydomain.com as an A-record in your DNS settings to point to the IP address of the server where you installed CapRover.
Find more info .
Install CapRover CLI on your local machine
npm install -g caprover
Complete CapRover Setup & log in to the Dashboard
Complete CapRover Setup
Run the following on your local machine:
caprover serversetup
Follow the steps and log in to your CapRover instance. When prompted to enter the root domain, enter something.mydomain.com assuming that you set *.something.mydomain.com to point to your IP address in step #Set up DNS. Now you can access your CapRover from captain.something.mydomain.com and log in.
Log in to the Dashboard
Visit the CapRover dashboard at //captain.something.mydomain.com and log in using the password you set up in the above step.