Should I be using www. when setting up virtual hosts on apache?
Posted
by
MAZUMA
on Server Fault
See other posts from Server Fault
or by MAZUMA
Published on 2013-10-20T04:05:19Z
Indexed on
2013/10/20
9:57 UTC
Read the original article
Hit count: 189
Does it matter whether or not I include the www. sub-domain when creating new virtual hosts on apache?
So is this?
/etc/apache2/sites-available/www.example.com
better than this?
/etc/apache2/sites-available/example.com
I would assume I'd need to a2ensite either www.example.com or example.com. Depending on whichever method used?
This might be a a fairly basic question But, I have no one else to ask. And, want to do it right.
© Server Fault or respective owner