nathen077
By:
nathen077

I want to host multiple sites on one droplet using docker.

September 17, 2017 398 views
Docker WordPress Node.js Ubuntu 16.04

Hi,

I am student I don't know much about hosting. I want to host multiple sites on one droplet using docker.

My sites are...
1) Static Site - on 1st Domain name
2) Vanilla Forums ( Open Source Edition ) - on 1st Domain's Sub Domain
3) Wordpress site with SSL Certificate - on 2nd Domain
4) Simple Nodejs script - on 3rd Domain

I follow following video which talks about " How to Run Multiple WordPress Websites on Digital Ocean "
https://www.youtube.com/watch?v=KSXkAZRdGh4

But video is not talking about how host different containers and attach them to different domain names?
Please help me.

2 Answers
Mohsen47 September 18, 2017
Accepted Answer

@nathen077

Hi, I think this tutorial is right for you, check it and if it does not help tell me I can help you.

https://www.digitalocean.com/community/tutorials/how-to-use-traefik-as-a-reverse-proxy-for-docker-containers-on-ubuntu-16-04

Docker can be an easy and efficient way to run web applications, but you may want to run multiple applications on the same Docker host. In this situation, you'll need to set up a reverse proxy since you only want to expose ports 80 and 443 to the...

@Mohsen47

Thanks for the information. I will try !

Have another answer? Share your knowledge.