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

Updated cPanel License Price in Jan 2025: A Comprehensive Guide

Are you ready for another cPanel price adjustment? As we have approached January 2025, cPanel has rolled out significant changes…

2 weeks ago

Finding Your Fit: Website Builder or WordPress for Your Site?

In this growing digital world, having a website is not enough—it’s a crucial and much-needed option. But here's the challenge…

2 weeks ago

From Hobbyist to Professional: Selling Photos Online

In today's digital age, the line between hobby photography and professional photography has become increasingly blurred. With the rise of…

3 weeks ago

Windows Web Hosting: Essential Insights for Beginners

Are you taking your first steps into the world of web hosting? You're not alone. Every day, countless individuals and…

3 weeks ago

Crafting a Professional Email: Step-by-Step Guide

Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…

1 month ago