Freelance web developer here seeking some advice...
I am working with a client who wants to launch new website. Their registrar is FastHosts, which points to Sitegrounds namesevers (their DNS host).
I've built a new site which needs to run in a Node.js environment, but that isn't compatible with Sitegrounds hosting. So, I spun up an AWS EC2 server, copied it's public IP and replaced the A Record in Siteground to the one provided by EC2.
However, the website just isn't loading when you visit their root domain. It's getting a 'the site cannot be reached - too long to respond' error.
If I visit the public IP address of the EC2 instance in the browser, the website loads.
We also cannot get rid of Siteground, as it hosts various 'subdomain-ed' websites.
I'm completely stuck. Have done this right? Is what I'm trying to achieve even possible?
Any guidance would be much appreciated.