How to force https / SSL on a domain in Vesta Control Panel

1. Install custom nginx template cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/rhel/force-https/nginx.tar.gz tar -xzvf nginx.tar.gz rm -f nginx.tar.gz 2. Create new package or set force https as nginx template in the existing package 3. Add new user and assing him package with force-https template 4. Add new domain with SSL certificate and check the result

404 error page not found for http://IP address/~username .

If you are getting the 404 error for the http://IP address/~username Then follow the below steps >> Login to the WHM >> Main >> Security Center >> Apache mod_userdir Tweak Apache’s mod_userdir allows users to view their sites by entering a tilde(~) and their username as the uri on a specific host. For example :: […]

Error : semget error in httpd

Guys, If you face  semget error while restarting httpd. Please use  following command. ipcs -s | grep nobody | perl -e ‘while () {@a=split(/\s+/); print `ipcrm sem $a[1]`}’ Then restart Apache service /scripts/restartsrv httpd It will help you to resolve the error.