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 Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

1 week ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

1 week ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

2 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

4 weeks ago

Explained: Difference between Nameservers Vs. DNS

The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…

1 month ago