• Resolved ztpress

    (@ztpress)


    Hallo community,

    I am setting up WordPress Multisite using docker containers. All my microservices can be reached only via Traefik load balancer (also a microservice). So if I define wordpress microservice then I can assign it a url e.g. http://www.wp_website.com and traefik would take care of routing and ssl certificates. Traefik does that by looking into labels each services has assigned.

    Now in wordpress multisite, a local network is created within the namespace of wordpress which traefik is not aware of. The problem comes up when we create a subdomain based site in the multisite network e.g. site1.wp_website.com. or if i try to assign a custom domain to one of these websites. Traefik currently only knows http://www.wp_website.com and won’t route a custom domain traefik to corresponding subsite in the wordpress multisite network.

    Any help will be much appreciated on this issue.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • WP_website.com doesn’t resolve so I can’t help you with the DNS settings but…

    Normally, you’d point the domain at the load balancer and make sure the load balancer will accept the domain… From there the load balancer acts as the server.

    So if the Traefcic doesn’t respond to the domain you’ll need to ask them for further help. At that point, it’s not a WordPress issue.

    Thread Starter ztpress

    (@ztpress)

    @jnashhawkins: Thanks for your response. I resolved the issue by pointing requests to load balancer and I also had to make some configuration so load balancer recognize these domain to generate appropriate certificate. Now it works. Thanks.

    Thread Starter ztpress

    (@ztpress)

    resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress Multisite behind Traefik Load Balancer’ is closed to new replies.