Build a HTTPS connection using AWS EC2 instance

Job ID: 34008846

Budget: $10 – $30 USD

We are trying to build a HTTPS connection using our AWS EC2 instance. We've already taken the actions below yet couldn't build a successful connection.
1. Set up the EC2 instance
2. Bought a domain and SSL certificate on Godaddy
3. Uploaded SSL certificate on AWS Certificate Manager and assigned the certificated to the EC2 instance.
4. Built a listener code on python and ran it on the EC2 instance.
5. Sent a post using Postman to our EC2 instance.
6. Created a .htaccess file and updated it based on the instructions in the document below.
https://tr.godaddy.com/help/cpanel-web-sitenizi-httpse-yonlendirme-27870

We believe that we fail to update the .htaccess code properly. That is probably why we receive an error stating 'SSL Error: Hostname/IP does not match certificate's altnames' on Postman.

We are looking for support from a developer who successfully built a HTTPS connection on AWS EC2 instance with a pre-bought SSL certificate from Godaddy.
Related categories: Python Linux Amazon Web Services SSL GoDaddy