Ns8-wordpress : how to have the website answer to multiple domains?

Hi there, hi @stephdl

I’m using ns8-wordpress (thanks !) and I’d like it to be able to serve both mydomain.be and mydomain.org.

I understand both DNS should point to the right ip and that traefik should redirect from the secondary domain to the primary one (301).

How can I configure ns8 to do that ? Wouldn’t it be a a nice feature to add to the module ? With some pointers I could maybe try to do that.

Thanks

Matthieu

hello

probably you can add an http route with the UI of traefik in settings to point to the tcp port of the container of wordpress

Ok, will try right now. I guess it will handle the certificate as well.

else you could have a look to ns8-webserver, a virtualhost can handle multiple fqdn

Finally I opted to another hosting solution so wasn’t able to test. Thanks anyway.