Getting Ghost to recognize use of www sub-domain and no sub-domain

I’ve setup a new Ghost blog on Ubuntu 16.04 at That works fine. However, when I go to I get a screen telling me to setup Ghost.

I currently have a CNAME record directing to I have an A record for that directs it to by site IP

What I’ve tried:

  1. Add both domains to SSL using certbot
  2. Added both domains to Ghost config under server_name
  3. Restarted Ghost and NGINX
  4. NGINX and Ghost config now show: server_name

I’m stuck now and not sure what else to try. Can anyone help please?



Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer