We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Domain Alias problem (iptable related) [UPDATED]
Domain Alias problem (iptable related) [UPDATED]
I have a server with multiple users, today I tried to add a new domain with a alias domain with one regular user (not the admin account) and it won't work.
For example:
My users is called "userA" it have the main domain that is working called "domainA.com"
In that user account, every time I want to add a new domain I add it for example "testdomain.com" and in the aliases I put this:
"www.testdomain.com
testdomain.domainA.com
"
So I can access the website using the temporary "testdomain.domainA.com" subdomain. I already do this more than 10 times and it works every time. But since today I'm unable to do it. This is very important to me since sometimes I start to work in a website and the principal domain is not set so I use the temporary subdomain and when the client bought the correct domain everything works great.
I check the "/home/$user/conf/web/httpd.conf" and "/home/$user/conf/web/nginx.conf" files and this new domain is equal to the other virtualhosts that are in the file, and that are working.
Any tip to solve this issue. I already delete the domains multiple times and add it again but nothing works
[UPDATE]
An update to this bug. I think it's related with the iptable implementation.
For example if I stop iptables and create a domain in "userA" account and add an alias, the alias don't work, if I reboot the server with iptables stopped then the alias domain start to work even if I restart iptables. But if I restart the iptables and try to add other domain with an alias this new domain will not work.
If I never restart iptables after reboot the server, I can add how many domains and aliases I want and everything works great.
For example:
My users is called "userA" it have the main domain that is working called "domainA.com"
In that user account, every time I want to add a new domain I add it for example "testdomain.com" and in the aliases I put this:
"www.testdomain.com
testdomain.domainA.com
"
So I can access the website using the temporary "testdomain.domainA.com" subdomain. I already do this more than 10 times and it works every time. But since today I'm unable to do it. This is very important to me since sometimes I start to work in a website and the principal domain is not set so I use the temporary subdomain and when the client bought the correct domain everything works great.
I check the "/home/$user/conf/web/httpd.conf" and "/home/$user/conf/web/nginx.conf" files and this new domain is equal to the other virtualhosts that are in the file, and that are working.
Any tip to solve this issue. I already delete the domains multiple times and add it again but nothing works
[UPDATE]
An update to this bug. I think it's related with the iptable implementation.
For example if I stop iptables and create a domain in "userA" account and add an alias, the alias don't work, if I reboot the server with iptables stopped then the alias domain start to work even if I restart iptables. But if I restart the iptables and try to add other domain with an alias this new domain will not work.
If I never restart iptables after reboot the server, I can add how many domains and aliases I want and everything works great.