I would like to set up some websites at the server with CWP. The domain & email are tested.
After the generation of SSL, I have checked the httpd.conf or ssl.conf (conf.d) are both with default information only. The Let's Encrpt files are generated.
I tried to edit it manually with the document root and/or log information. I have also clicked on the "Restart Web Server" service.
I type "mydomain.com" and it goes to the default CWP page rather than my testing index.html at /home/mydomainuser/public_html
I have checked 80/ 443 ports are listening. I can type
http://mydomain.com to return the CWP default page but not for
http://www.mydomain.com /
https://mydomain.com /
https://www.mydomain.comFor example, ssl.conf
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/mydomain.com.cert
SSLCertificateKeyFile /etc/pki/tls/private/mydomain.com.key
SSLCACertificateFile /etc/pki/tls/certs/mydomain.com.bundle #If using a self-signed certificate or a root certificate provided by ca-certificates, omit this line
ServerAdmin admin@mydomain.com
ServerName mydomain.com
DocumentRoot /home/mydominuser/public_html
ErrorLog logs/mydomain/error.log
CustomLog logs/mydomain/access.log combined
</VirtualHost>