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
Location of and meaning of "It worked!" page
Location of and meaning of "It worked!" page
I just set up a new domain and IP on a Vesta VPS. After finishing all the configuation, the domain pointed to a cheerful page like:
It worked!
Powered by Vesta
Great. So I navigated to /home/admin/web/this-domain.com/public_html to start modifying files, starting with removing that "It worked!" default page.
Except there was no "It worked!" page. There was a page like:
this-domain.com
Powered by Vesta
So where on the server is this "It worked!" page which my domain is pointing to?
And what does it mean if the domain is pointing there, instead of to its own web folder?
It worked!
Powered by Vesta
Great. So I navigated to /home/admin/web/this-domain.com/public_html to start modifying files, starting with removing that "It worked!" default page.
Except there was no "It worked!" page. There was a page like:
this-domain.com
Powered by Vesta
So where on the server is this "It worked!" page which my domain is pointing to?
And what does it mean if the domain is pointing there, instead of to its own web folder?
Re: Location of and meaning of "It worked!" page
With no help from the docs or from here I did a system wide search on html files and eventually found it.
It's /var/www/html/index.html
So the question becomes, why is my domain pointing at /var/www/html/index.html instead of its own directory?
It's worth mentioning that when I created the "web" entry, it ran into a bizarre error I couldn't find any info about, saying "Error my-domain.com exists" - but it all seemed to work fine.
Maybe there's some "save config" step it failed to do because of this bizarre unexplained error?
It's /var/www/html/index.html
So the question becomes, why is my domain pointing at /var/www/html/index.html instead of its own directory?
It's worth mentioning that when I created the "web" entry, it ran into a bizarre error I couldn't find any info about, saying "Error my-domain.com exists" - but it all seemed to work fine.
Maybe there's some "save config" step it failed to do because of this bizarre unexplained error?
Re: Location of and meaning of "It worked!" page
This is so dumb. Why is there no explanatory text to anything?
It turns out that:
- If you stick with default settings, with "Web Template HTTPD" set to "Default", it creates the folders for the site but does absolutely nothing with them, and continues to point the domain at /var/www/html
- To get it to actually use the directories it creates, you have to switch "Web Template HTTPD" to "Hosting"
How about some tooltip text, or UI labels, or... anything?
It turns out that:
- If you stick with default settings, with "Web Template HTTPD" set to "Default", it creates the folders for the site but does absolutely nothing with them, and continues to point the domain at /var/www/html
- To get it to actually use the directories it creates, you have to switch "Web Template HTTPD" to "Hosting"
How about some tooltip text, or UI labels, or... anything?
Re: Location of and meaning of "It worked!" page
...and then if you use "Hosting" it overrides your Apache settings with a bunch of secret local settings hidden in /usr/local/vesta/data/templates/web/httpd - see viewtopic.php?f=11&t=5262&p=41132#p41132
So you have to set it to hosting then set it back again to default... I thought control panels were supposed to make things easier?
So you have to set it to hosting then set it back again to default... I thought control panels were supposed to make things easier?