I have a question I know how to host a node js Express server on an AWS ec2 instance but that instance gives me an http url but to make a successful cors server I need to make it https url to do that I need to add a free or paid ssl certificate. But everywhere I searched its written to have a Apache server installed in the ec2 instance in order to have a ssl certificate setup. So my question is can I have both express and Apache server installed in one ec2 instance will it work or give errors. I have no idea about this can someone help me.
Also can someone tell me where else I can upload my express server other than AWS or Heroku as both gives http by default and I want a https.
Thank you in advance.