Ghost installed successfully, site does not load

Following the instructions on ghost docs I’ve installed Ghost-cli and ghost on a Ubuntu v20 (AWS Lightsail). All went fine but how can I view my website? The IP address of my vm shows default nginx page.

Added the IP address of the server as A record for the domain. But site does not load.

While installing chose
Site name: https with my site name,
SSL : No

Did I do a mistake here? Am I missing a step to configure nginx?

  • What’s your URL? 54.212.230.74
  • What version of Ghost are you using? 4.6.4
  • What configuration? Node 14.17.0; Ghost-cli 1.17.3
  • What errors or information do you see in the console? None
  • Install options

ghost setup ssl fixed it.