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

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…

8 hours 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 week 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 week ago

A Comprehensive Guide to Changing and Protecting the WordPress Login URL

If you’ve planned to launch a WordPress website, you might get a question, “How do I log in to WordPress?”…

2 weeks ago

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:…

1 month ago