Open pedro-nonfree opened 4 years ago
@alexAubin: The best solution is to redirect automaticaly www.domain.tld to domain.tld and block "www" like subdomain, no?
@Neustradamus : that's what was proposed in https://github.com/YunoHost/issues/issues/249 ... Didn't think hard enough about it to have an opinion on if that's the right thing to do or not and if it's worth it ... (On the technical side, I doubt that it's as simple as adding a line in nginx's conf)
@alexAubin: Thanks in advance! And maybe with a feature to disable this forced redirection too but never enable by default.
Hi,
I found complex to solve this problem, and I think documentation should improve in this direction
this documentation helped https://forum.yunohost.org/t/dns-config-for-my-domain-redirect-www/7783/5
I think we should have a page explaining documentation to set up a wordpress in a domain example.com as default application, and a redirect in www.example.com to example.com
let me start a draft (substitute example.com with your domain):
check that it went fine with
curl
: