We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
WWW Alias not work Topic is solved
WWW Alias not work
Hello,
per example I create one domain account with this example domain "example.com" and the vestacp create automatically the "www.example.com" in the alias.
So far its OK, but the problem begins when the alias "www.example.com" is removed from the "Aliases" box and the change is saved.
Now if I need add again "www.example.com" on the box "Aliases" and save it, does not add and if I refresh the page the "www.example.com" disappear from the box, and in example.com.nginx.conf file have this server_name example.com ; (with the space after domain).
and on example.httpd.conf file the line of ServerAlias disappear.
But if I put anything else instead of WWW works fine.
Per example blog.example.com and www.blog.example.com.
Can you help me with this please?
Thank you.
per example I create one domain account with this example domain "example.com" and the vestacp create automatically the "www.example.com" in the alias.
So far its OK, but the problem begins when the alias "www.example.com" is removed from the "Aliases" box and the change is saved.
Now if I need add again "www.example.com" on the box "Aliases" and save it, does not add and if I refresh the page the "www.example.com" disappear from the box, and in example.com.nginx.conf file have this server_name example.com ; (with the space after domain).
and on example.httpd.conf file the line of ServerAlias disappear.
But if I put anything else instead of WWW works fine.
Per example blog.example.com and www.blog.example.com.
Can you help me with this please?
Thank you.
Re: WWW Alias not work
Actually this bug is reported in bug tracker and for now is a fix here https://github.com/serghey-rodin/vesta/pull/1481
Re: WWW Alias not work
Thank you!
It's already solved.
I comment the line
in the func/main.sh file.
It's already solved.
I comment the line
Code: Select all
aliases=$(echo "$aliases" |grep -v www.$domain |sed -e "/^$/d")
skamasle wrote: ↑Tue Mar 06, 2018 7:29 pmActually this bug is reported in bug tracker and for now is a fix here https://github.com/serghey-rodin/vesta/pull/1481
Re: WWW Alias not work
JokaUK wrote: ↑Wed Mar 07, 2018 10:29 amThank you!
It's already solved.
I comment the linein the func/main.sh file.Code: Select all
aliases=$(echo "$aliases" |grep -v www.$domain |sed -e "/^$/d")
skamasle wrote: ↑Tue Mar 06, 2018 7:29 pmActually this bug is reported in bug tracker and for now is a fix here https://github.com/serghey-rodin/vesta/pull/1481
Not commet it just remove "grep -v www.$domain |"
Re: WWW Alias not work
Just an FYI to mods or developers. This is not fixed on latest update
Although modifying func/main.sh works. But the bug still exists when you install vestacp
Although modifying func/main.sh works. But the bug still exists when you install vestacp
Re: WWW Alias not work
So, hi vesta team, will be resolved on next release of 23 ?