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

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…

2 days ago

Demystifying SSL: What Every Website Owner Should Know

As the digital landscape continues to evolve, securing your website has never been more crucial. SSL, or Secure Sockets Layer,…

1 week ago

Cyberduck and FileZilla: A Comprehensive Comparison

As a web designer and web developer your experience must have reached to new height, right? Further, you need to…

1 month ago

The Science Behind Social Media Posting Times

In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…

1 month ago

Mastering Google Search Console: Tips for New Users

Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…

1 month ago