Let's say I have an site1.example.wordpress.com
site, but instead I want me users to see (in their browsers) different link, e.g. example.com
. I.e. when someone types example.com
it would serve site1.example.wordpress.com
but in browser it would display example.com
.
I'm aware of this and this solutions. However, I do not want to install the plugin, and the solution that suggests changing TLD in wordpress seems iffy (it's a good solution, that I keep seeing everywhere on the net). However, can a CNAME be used?
And if I add example.com
as a CNAME, can I add it just as a ServerAlias
(apache 2.4) in my existing vhost for multisite? Or should I make separate virtual host that would reverse proxy to site1.example.wordpress.com
?