WWW Alias not work
Posted: Tue Mar 06, 2018 7:02 pm
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.