Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Location of and meaning of "It worked!" page

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Location of and meaning of "It worked!" page
  • Quote

Post by alanms » Tue Dec 08, 2015 11:58 pm

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?
Top

alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Re: Location of and meaning of "It worked!" page
  • Quote

Post by alanms » Wed Dec 09, 2015 12:58 am

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?
Top

alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Re: Location of and meaning of "It worked!" page
  • Quote

Post by alanms » Wed Dec 09, 2015 1:01 am

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?
Top

alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Re: Location of and meaning of "It worked!" page
  • Quote

Post by alanms » Mon Mar 14, 2016 6:28 pm

...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?
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password