I bought a domain which I\'m trying to use for both my client and backend server.
here what I did.
I added a subdomain (api.example.com) for my ec2 server at R