Page 2 of 2

Re: Unable to add www as server alias

Posted: Sat May 26, 2018 8:11 am
by ByProgrammer
So thanks a lot for the solution. I have done it and now I'm waiting the DNS update to view if it works or not, but for the moment I could add the alias with also the SSL Encryption.
But just another question: I have the last version of VESTA CP (0.9.8 rel 21), why it isn't fixed??
Thanks.

Re: Unable to add www as server alias

Posted: Sat Oct 20, 2018 6:02 am
by Gordon55M
Worked for me, thanks!

Re: Unable to add www as server alias

Posted: Thu Nov 08, 2018 6:44 am
by plutocrat
This issue seems to have been re-introduced in the current version of Vesta (9.8.23). I've logged a bug in Github.

Meanwhile, the fix is to edit func/main.sh, line 936 and change
aliases=$(echo "$aliases" |grep -v www.$domain |sed -e "/^$/d")
to
aliases=$(echo "$aliases" |sed -e "/^$/d")

Re: Unable to add www as server alias

Posted: Mon Nov 19, 2018 7:38 am
by jacksrhymingego
Jumping on this issue - is there any SEO or speed benefit to adding a www alias? I'm using the non-www version as the default on my domain but should I add a www version in there as well?

Re: Unable to add www as server alias

Posted: Thu Mar 21, 2019 1:59 am
by plutocrat
Its a personal choice. See https://www.yes-www.org/ and https://dropwww.com/why

My personal feeling is that you should probably have both, but pick one and redirect all traffic from the one you don't want, to the one you do want.

In terms of speed. No difference, except maybe the shorter one is faster to type.

In terms of SEO, some people say you get penalised for having the same content on two separate domains.