Categories: cPanelSecurity

Hello,

On cPanel server many of customer want to use the shared server to access the website and this need to installed on the server :

To successfully utilize shared SSL, please use the following format:

https://secure.hostname.com/~cpaneluser/

Shared Example:

https://secure.hostname.com/~bill/

Reseller Example:

https://secure.hostname.com/~bill/

These examples use bill as the cPanel username. Substitute your correct cPanel username for bill above.

To install it on server side either you can install it from whm or from backend by editing the http configuration file with below code for example :

<VirtualHost xx.xx.xx.xx.xx:443>
ServerName serverhostname.com
ServerAlias www.serverhostname.com
DocumentRoot /usr/local/apache/htdocs
ServerAdmin webmaster@serverhostname.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/serverhostname.com combined
CustomLog /usr/local/apache/domlogs/serverhostname.com-bytes_log “%{%s}t %I .\n%{%s}t %O .”
## User nobody # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
<IfModule itk.c>
# For more information on MPM ITK, please read:
#   http://mpm-itk.sesse.net/
AssignUserID nobody nobody
</IfModule>
ScriptAlias /cgi-bin/ /usr/local/apache/htdocs/cgi-bin/
SSLEngine on

SSLCertificateFile /var/cpanel/ssl/installed/certs/serverhostname.com_cd21e_fde1b_1418012548_ccfebd6152bebc7ca120bd58d00de166.crt
SSLCertificateKeyFile /var/cpanel/ssl/installed/keys/cd21e_fde1b_1a278943cfc23f2779b5f7f30aef047c.key
SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/GeoTrust_Inc__bb67436bf97b9f75568011c3b6ced629_1582065905.cabundle
CustomLog /usr/local/apache/domlogs/serverhostname.com-ssl_log combined
SetEnvIf User-Agent “.*MSIE.*” nokeepalive ssl-unclean-shutdown
<Directory “/usr/local/apache/htdocs/cgi-bin”>
SSLOptions +StdEnvVars
</Directory>

# To customize this VirtualHost use an include file at the following location
# Include “/usr/local/apache/conf/userdata/ssl/2/nobody/serverhostname.com/*.conf”

</VirtualHost>

Regards,
Andrew J

Hostripples.com

Technical Support Department


Andrew J

Recent Posts

The Ultimate Showdown: Linux vs Windows for VPS Hosting

As the demand for virtual private servers (VPS) continues to grow, businesses and individuals are faced with a crucial decision:…

2 weeks ago

Questions to Ask Your Web Hosting Support Team

Web hosting is a large industry, as many other factors help any web hosting provider to form a company. The…

2 weeks ago

How to Secure Your WordPress Site in 2025

Welcome to the complete guide to WordPress security best practices in 2024. As technology evolves rapidly, implementing strong security measures…

3 weeks ago

Unlocking the Secrets of Hosting: Essential Questions to Ask Hostripples

Hey, wanted to learn about web hosting? Or do you want to start a new website and need hosting? Questions…

3 weeks ago

DDoS Attacks: What You Need to Know for Protection

In today's digital world, the threat of DDoS attacks has become increasingly prevalent. These types of attacks have the power…

1 month ago