Skip to main content

VestaCP Tweaks : Vesta Dashboard Customization

VestaCP is a free and Best hosting control panel ever i used. Very fast and light weight control than others Control Panel. I am using Ubuntu 16.04 LTS. In today’s guide, I’m going to show you some customization for your Branding purposes But this is not recommended by VestaCP.
 1. How to Change Default Index Page ?
Default Index page Location:
# vi /usr/local/vesta/data/templates/web/skel/public_html/index.html
2. Change Default Page using Gist : 

3. Create php info page to collect PHP information

// Show all information, defaults to INFO_ALL


4. Rename apache2 default index page [ Don't restart apache2, because we are using nginx 
# service apache2 restart [Don't restart apache2]
# mv /var/www/html/index.html /var/www/html/index.html.old
# cp -a /usr/local/vesta/data/templates/web/skel/public_html/index.html /var/www/html/ 
5. Change Vesta Admin Port
# vi /usr/local/vesta/nginx/conf/nginx.conf 
6. Set Hostname for Apache2
# vi /etc/apache2/apache2.conf
:x ( save & close )

# apachectl configtest 
7. Hiding Apache version
# cp -a /etc/apache2/conf-enabled/security.conf /etc/apache2/conf-enabled/security.conf.old
# vi /etc/apache2/conf-enabled/security.conf

ServerTokens Prod
ServerSignature Off

:x ( save & close ) 
8. Hiding PHP version
# vi /etc/php/7.0/apache2/php.ini
expose_php = Off

# curl -I 
VestaCP Plugin Manager

10. Vesta Default Image Location:
# cd /usr/local/vesta/web/images 
VestaCP Default Image Download Link:

Download Images and replace as you want

11. Vesta Template Location: 
# cd /usr/local/vesta/data/templates/web/ 
Favicon Change
# yes | cp -a /usr/local/vesta/web/images/favicon.ico /usr/local/vesta/web/ 

This is strictly Prohibited [Don't Do]

12. Change Title
# vi /usr/local/vesta/web/templates/header.html 
13. Change Attribution
# vi /usr/local/vesta/web/templates/login.html 
14. Rename Menu Bar
# vi /usr/local/vesta/web/templates/admin/panel.html 
15. Clear Linux Command History Completely
# cat /dev/null > ~/.bash_history && history -c && exit