Comment activer le sous-domaine www

I’m pretty sure that wasn’t what he was asking at all @pfaffman .. he was asking “how do I automatically redirect visitors to the non-www version of my domain”.

example.com
www.example.com

This is most easily done via the DNS controls where you purchased your domain name from. If your DNS provider doesn’t support redirection, you’re stuck implementing redirects in your webserver.