12/27/2022 0 Comments Linode docker tutorial![]() ![]() If you’re going to run this in production, I suggest changing the database username / password above in the docker-compose configuration. Run apt update and apt install curl to update packages and install curl from the package manager. These changes can take a half hour or more to propagate. This means that ANY subdomain that is accessed in the browser will be pointed towards your server. Point the record to the IP of your VPS and set the name to a wildcard *. It can be anything as we’re using it for the sake of this tutorial.Īccess the domain name through the domain registrar and add an ‘A’ record to the domain DNS. I’m going to install Ubuntu 20.04 as the operating system on the server. For this tutorial, I’ll use a 1 CPU / 1 GB RAM VPS that costs $5/month. Get yourself a VPS droplet from Digital Ocean, Linode, or Vultr. Our goal in this tutorial is to launch two simple websites and access them through different subdomains. I use docker to cleanly containerize websites on a single server. Nginx Proxy Manager does a lot of the heavy lifting by acting as a single entry point to my VPS and redirecting users to correct hosts. I currently run multiple portfolio websites from one $10 / month virtual private server (VPS). ![]() Plus, you could link them to multiple domain names / subdomains and apply free SSL / TLS from Let’s Encrypt. Did you know you could launch multiple small websites from the same server and keep them isolated from each other? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |