1. Make sure domain has dedicated IP
2. Install for the primary domain first in WHM.
3. Navigate in SSH to /var/cpanel/userdata/$username
– Notice the default domain now has a _SSL file for it as well
4. Copy this _SSL file to the next subdomain to install SSL on
– cp $domain_SSL $sub.domain_SSL
5. Edit the copied file
– Change documentroot, serveralias, and servername
– Save
6. Run /scripts/rebuildhttpdconf && /scripts/restartsrv_httpd
No comments:
Post a Comment