Question

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

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.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

@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

This comment has been deleted

    I was facing the same issue and searching on internet about this. I found this on the internet.

    Check this out. https://www.answercart.com/docs/Reverse-Proxy-for-Community-Websites.pdf

    hope this helps,

    Become a contributor for community

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    DigitalOcean Documentation

    Full documentation for every DigitalOcean product.

    Resources for startups and SMBs

    The Wave has everything you need to know about building a business, from raising funding to marketing your product.

    Get our newsletter

    Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

    New accounts only. By submitting your email you agree to our Privacy Policy

    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.