Thanks for your quick response.
So, if I understand you correctly, I can obtain a new domain name and assign it to the IP address of Mean instance, then configure a subdomain of the current domain to point to the new domain. Ideally, I would like to apply for an SSL certificate for this new domain so I can use https with the app.
Currently, the (unsecure) app collects some information from the user then calls a (secure) 3rd party app (square.com) to collect payment from the user. My concern is the visibility of (not secure) flag displayed on the browser. This may keep users from proceeding, especially since we are taking payment.
The guide(s) you suggested are for creating a custom node app; however, we already have a custom app up an running on port 3000. So, I assume the guides you suggested were for getting the app running and accessible.
Please correct me if needed, but the steps would be:
1) Obtain a new domain and assign it to the IP address: mynewdomain ---> IP address (without the port number)
2) Configure a subdomain of the current domain, which in the DNS configuration I need 2 records:
- An "A" type record to have the newdomain route to the IP address of the Mean Stack instance
- An "CNAME" type record to have the newdomain route to mycurrentdomain (as subdomain)
1) Since mycurrentdomain already has an SSL certificate established, will the newly assigned subdomain inherit the certificate?
2) Do I need to create a new certificate for the new subdomain?
3) Do I update the current certificate to include the subdomain?