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.
How to change default index.html page
How to change default index.html page
Hi, i just installed VestaCP and need to change default index.html page.. How to do it?
-
- Posts: 83
- Joined: Tue Jan 14, 2014 6:43 am
Re: How to change default index.html page
1. Login to the panel
2. Setup an FTP login
3. Login via FTP with an FTP program. (Try Filezilla)
4. Delete or Upload your own Index.html via FTP.
Done!
2. Setup an FTP login
3. Login via FTP with an FTP program. (Try Filezilla)
4. Delete or Upload your own Index.html via FTP.
Done!
Re: How to change default index.html page
well, I didn't mean that. I thought the start index page after vestacp installed. So, all domains that are added have the default page, need edit that page :D ok?
Re: How to change default index.html page
The default index file is located here /usr/local/vesta/data/templates/web/skel/public_html/index.html
Re: How to change default index.html page
I edited it and see no difference, when i visit my ipskid wrote:The default index file is located here /usr/local/vesta/data/templates/web/skel/public_html/index.html
http://192.184.93.36/
Re: How to change default index.html page
Hello,
I have the same problem, no difference. Any Suggestions?
Thank You!
I have the same problem, no difference. Any Suggestions?
Thank You!
-
- Posts: 1
- Joined: Sun Dec 21, 2014 8:52 pm
- Contact:
Re: How to change default index.html page
Steps to change Default index.html file that is loaded to the accounts upon creation:
* This will NOT change the index.html file on any already created Domains for accounts. If that were to be the case... anything you already had setup would be overwritten which is obviously not what most people would want.
1) backup the original file. (optional, recommended)
2) locate the file /usr/local/vesta/data/templates/web/skel/public_html/index.html
3) Edit the file to display the you want for your default first page.
*Choose only one option below. I just included both common editors for ease of copy and pasting.
4) Insert your changes to the code so the page will display the way you want.
* It is recommended to put your code in a .html file on your computer, then open with your web browser to verify your coding works and there are no errors. Then you can just copy and paste that known good code into your /usr/local/vesta/data/templates/web/skel/public_html/index.html file.
5) All domains that are NEWLY added OR Removed/Re-added will have the new index.html file applied
* This will NOT change the index.html file on any already created Domains for accounts. If that were to be the case... anything you already had setup would be overwritten which is obviously not what most people would want.
1) backup the original file. (optional, recommended)
Code: Select all
cp /usr/local/vesta/data/templates/web/skel/public_html/index.html /usr/local/vesta/data/templates/web/skel/public_html/index.html.original
Code: Select all
cd /usr/local/vesta/data/templates/web/skel/public_html
*Choose only one option below. I just included both common editors for ease of copy and pasting.
Code: Select all
nano index.html
Code: Select all
vi index.html
* It is recommended to put your code in a .html file on your computer, then open with your web browser to verify your coding works and there are no errors. Then you can just copy and paste that known good code into your /usr/local/vesta/data/templates/web/skel/public_html/index.html file.
5) All domains that are NEWLY added OR Removed/Re-added will have the new index.html file applied
Re: How to change default index.html page
Hi it works i just uploaded index.html to my default public_directory and just used cp command to the directory specified above. But it will not work on allready excisting sites so maybe that's what confuse about it only newly created sites if you have only the old default just delete and create a new web with the same credentials and you will see your new default index.html
As you can see on my new created web
Love vesta CP
Just needs work on webmail part
Janus Rokkjær
As you can see on my new created web
SpoilerShow
Just needs work on webmail part
Janus Rokkjær
SpoilerShow