Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: balrajarpit on June 23, 2020, 04:03:48 PM

Title: SSL and Email Problem Cpanel to CWP Migration
Post by: balrajarpit on June 23, 2020, 04:03:48 PM
Migrated from cPanel to CWP.
Everything imported fine.

AutoSSL is installed but it's not working.

http://www.balrajsoftware.com is working
https://www.balrajsoftware.com is not working

Webmail is login fine for all user but I'm not able to receive or send emails.

httpd.conf

Code: [Select]
DocumentRoot "/usr/local/apache/htdocs"

LoadModule ssl_module modules/mod_ssl.so

Listen 443
<VirtualHost *:443>
    ServerName www.balrajsoftware.com
    SSLEngine on
    SSLCertificateFile "/etc/pki/tls/certs/balrajsoftware.com.cert"
    SSLCertificateKeyFile "/etc/pki/tls/private/balrajsoftware.com.key"
</VirtualHost>
Title: Re: SSL and Email Problem Cpanel to CWP Migration
Post by: idovecer on February 14, 2021, 11:46:29 AM
It is possibly working for you domain.com but not for www.domain.com.
All you need to do is to add A record in your DNS.

Remove CNAME for www and add A record for your domain with your IP address.

Example:
www 14400 IN A %ip%

Request SSL again.