You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I would like to thank you for the tutorial. It is excellent and detailed.
However, I am asking for advice. How can I change my domain? I currently have everything set up according to the instructions and "traefik" works fine for me, both from the internal and external network on the traefik.firstdomain.cz subdomain.
However, I bought a second domain to which I want to move everything, so traefik should work on the new subdomain traefik.seconddomain.cz. I changed everything in docker-compose.yml to the new subdomain. I gave the command "docker-compose up -d --force-recreate". I then entered my new subdomain for traefik in the browser and logged into the application from the internal network and everything works including a valid certificate for the new domain.
But I can no longer log into the application from an external network. On my mobile phone, I get the error code 522 that I should visit the cloudflare page, as well as the information that the browser is working, cloudflare is working and "host traefik.seconddomain.cz error".
Can you please advise what I need to set up so that traefik works for me with the new subdomain? I also tried uninstalling the container, deleting the traefik folder, deleting the "proxy" network and a new installation, but it still works the same with the new domain. I can log in from the internal network, but I can't log in from the external network.
The second, less necessary question. How do I add additional domains to the "traefik" application settings?
By this I mean that traefik will run on one subdomain traefik.domain.cz, but then I will have two wordpress applications on two different domains. If I studied the settings correctly, it should be enough to add the following lines below:
`- "traefik.http.routers.traefik-secure.tls.domains[1].main=wordpress_one.cz"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I would like to thank you for the tutorial. It is excellent and detailed.
However, I am asking for advice. How can I change my domain? I currently have everything set up according to the instructions and "traefik" works fine for me, both from the internal and external network on the traefik.firstdomain.cz subdomain.
However, I bought a second domain to which I want to move everything, so traefik should work on the new subdomain traefik.seconddomain.cz. I changed everything in docker-compose.yml to the new subdomain. I gave the command "docker-compose up -d --force-recreate". I then entered my new subdomain for traefik in the browser and logged into the application from the internal network and everything works including a valid certificate for the new domain.
But I can no longer log into the application from an external network. On my mobile phone, I get the error code 522 that I should visit the cloudflare page, as well as the information that the browser is working, cloudflare is working and "host traefik.seconddomain.cz error".
Can you please advise what I need to set up so that traefik works for me with the new subdomain? I also tried uninstalling the container, deleting the traefik folder, deleting the "proxy" network and a new installation, but it still works the same with the new domain. I can log in from the internal network, but I can't log in from the external network.
The second, less necessary question. How do I add additional domains to the "traefik" application settings?
By this I mean that traefik will run on one subdomain traefik.domain.cz, but then I will have two wordpress applications on two different domains. If I studied the settings correctly, it should be enough to add the following lines below:
`- "traefik.http.routers.traefik-secure.tls.domains[1].main=wordpress_one.cz"
Is it allright like this?
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions