Hello. I am on a Godaddy VPS with cPanel and WHM. The server is running Metabase at port 3000, and I am trying to get the server to serve it at https://metabase.domain.tld.
So far I have managed to get it to work without TLS/SSL, so I can access http://metabase.domain.tld perfectly. For this I have followed these steps:
1. Add the subdomain on Godaddy under the "Domain Management" option.
2. Install `mod_proxy` from EasyApache in WHM.
3. From WHM, under "Apache Configuration", edit the pre virtualhost global file and add the following content:
4. SSH into the server and run the following scripts to rebuild the httpd.conf and then restart httpd:
The problem is that I don't know how to incorporate the required certificate files in this setup. The SSL certificates are managed by cPanel and in httpd.conf they are sourced from
I hope I have given enough information. I am a bit clueless about TLS/SSL so any input is highly appreciated. Thanks very much for reading this.
So far I have managed to get it to work without TLS/SSL, so I can access http://metabase.domain.tld perfectly. For this I have followed these steps:
1. Add the subdomain on Godaddy under the "Domain Management" option.
2. Install `mod_proxy` from EasyApache in WHM.
3. From WHM, under "Apache Configuration", edit the pre virtualhost global file and add the following content:
Code:
<VirtualHost public_ip:443>
ServerName metabase.domain.tld
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Code:
$ /usr/local/cpanel/scripts/rebuildhttpdconf
$ /usr/local/cpanel/scripts/restartsrv_httpd
/var/cpanel/ssl/apache_tls/sub.domain.tld/combined
. This is how it is for the subdomains I have created from cPanel which point to different document roots inside the public_http folder. But I don't know how I would go about generating certificates for metabase.domain.tld since I haven't added it form cPanel.I hope I have given enough information. I am a bit clueless about TLS/SSL so any input is highly appreciated. Thanks very much for reading this.