By clutchcargo
1 Ubuntu 18.04 droplet running Docker. 2 apps, each assigned to a subdomain, 1 IP address. Both Docker containers are up and running (Bitwarden and Wireguard/Subspace). Only 1 accessible via web. Both subdomains resolve to the same app.
Do I need to setup virtual server hosts? Assign a separate domain (with separate IP)? Not sure what steps to take from here.
If someone could suggest a path forward I’d be most grateful.
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!
Hi there @clutchcargo,
I recently answered a similar question. You could do this with a reverse proxy setup. For exampl you could use Nginx or Apache.
Here’s how to host multiple Docker containers on the same Droplet with Nginx Reverse Proxy:
Hope that this helps! Let me know if you have any questions. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.