New comment on reddit

No, you don't 🙂

Here's an excerpt from one of my many VirtualHost entries:

<VirtualHost *:443> DocumentRoot /var/www/firehose ServerName datente.com ServerAlias datente.com *.datente.com 

You have to set the ServerName

The ServerAlias tells Apache to send (in this case) *.datente.com to datente.com

July 22, 2020 at 11:02AM
via reddit https://www.reddit.com/r/Wordpress/comments/hvtay0/suggestions_for_a_plugin_to_redirect_all_www/fyvm8t2?utm_source=ifttt