I have a little dilemma. I recently upgraded to a more powerful server and created a new subdomain new.example.com for my latest project. It uses Docker. The problem is that my two other websites example.com and shop.example.com cannot run when the new one is running, as I must kill all processes on port 443 to allow Docker to occupy it… I have tried to move Apache to port 8443, but it isn’t making a difference. I have also tried to relax Cloudflare SSL settings to Flexible, however this just leads to other errors.

I either get redirects to the new subdomain or it gives 521 errors.

Can anyone help? I’m relatively new to self hosting and I am clueless.

  • bouncychicken@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    You need to expose your docker container on another port, and route traffic to that subdomain to your docker container locally through NGINX or Apache