And if yes, are there any good tutorials that show me how?
Context: Using a single DO droplet, I want to serve up multiple domain names, each with their own dynamic content written in different server side frameworks (i.e. example1.com is written with Node.js and example2.com is written with .NET Core). I’m wondering if this is possible.
From research, I’ve found that it is possible to serve multiple static websites using virtual hosts in Apache (or server blocks in Nginx). However I can’t tell if the same applies to dynamic websites, nor how I’d accomplish that.
FYI, I tried using a Docker droplet with virtual hosts to serve multiple websites with dynamic content, but this is cumbersome to update. For some reason, when updating my websites I need to completely rename and rebuild the Docker image. I want to move away from that infrastructure.
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.