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

How to change default index.html page

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

How to change default index.html page
  • Quote

Post by misak35 » Thu Jan 16, 2014 11:01 am

Hi, i just installed VestaCP and need to change default index.html page.. How to do it?
Top

nightstryke
Posts: 83
Joined: Tue Jan 14, 2014 6:43 am

Re: How to change default index.html page
  • Quote

Post by nightstryke » Thu Jan 16, 2014 5:05 pm

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

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: How to change default index.html page
  • Quote

Post by misak35 » Thu Jan 16, 2014 8:09 pm

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

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: How to change default index.html page
  • Quote

Post by skid » Mon Feb 10, 2014 10:39 am

The default index file is located here /usr/local/vesta/data/templates/web/skel/public_html/index.html
Top

AnonyHF
Posts: 6
Joined: Fri Nov 07, 2014 10:06 pm

Re: How to change default index.html page
  • Quote

Post by AnonyHF » Sat Nov 15, 2014 9:26 pm

skid wrote:The default index file is located here /usr/local/vesta/data/templates/web/skel/public_html/index.html
I edited it and see no difference, when i visit my ip

http://192.184.93.36/
Top

Afternova
Posts: 7
Joined: Sat Dec 20, 2014 8:42 pm

Re: How to change default index.html page
  • Quote

Post by Afternova » Sat Dec 20, 2014 8:51 pm

Hello,

I have the same problem, no difference. Any Suggestions?

Thank You!
Top

smokincomputers
Posts: 1
Joined: Sun Dec 21, 2014 8:52 pm
Contact:
Contact smokincomputers
Website

Re: How to change default index.html page
  • Quote

Post by smokincomputers » Sun Dec 21, 2014 9:11 pm

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)

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 
2) locate the file /usr/local/vesta/data/templates/web/skel/public_html/index.html

Code: Select all

cd /usr/local/vesta/data/templates/web/skel/public_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.

Code: Select all

nano index.html

Code: Select all

vi index.html
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
Top

janus
Posts: 1
Joined: Sat Dec 12, 2015 1:53 pm

Re: How to change default index.html page
  • Quote

Post by janus » Sat Dec 12, 2015 1:57 pm

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
SpoilerShow
http://janusrokkjær.dk
Love vesta CP
Just needs work on webmail part

Janus Rokkjær
SpoilerShow
http://monsterhost.dk
Top


Post Reply
  • Print view

8 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