- **What’s your URL?
www.kurazav.com - **What version of Ghost are you using?
Ghost-CLI version: 1.15.3 Ghost version: 3.40.2
I installed ghost following the tutorial how-to-install-and-configure-ghost-on-ubuntu-16-04 from digital ocean.
kurazav and https:// works just fine, but www.kurazav or https://www.kurazav don’t work at all as I get the error “Error code: SSL_ERROR_BAD_CERT_DOMAIN”.
I’ve tried redoing the ‘ghost setup’, as suggested on this forums on another thread with this problem, for www.kurazav.com, but it didn’t fix my problem. I still get the same error.
My domain is from namecheap, and I have A records for both @ and www
In /etc/nginx/sites-enabled I have these folders - default ssl conf and conf for both www and non, with all files automatically set up. I have only tried to do a 301 redirect from www to non-www but still doesn’t work.
When I curl -I my site with https and www I get this error: "curl: (60) SSL: no alternative certificate subject name matches target host name ‘MYSITE’ "
I don’t know what else to do.
Isn’t it possible for you, devs, to automatically make installation for both www and non-www when one does ghost setup? It’s a pain in the back for many, otherwise.
EDIT: only 3 links allowed so deleted much of my explanation
EDIT2: I’ve also - ghost config set url
for both but still no result