Https error while using www.domainname and no error without www

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL? This is the easiest way for others to debug your issue - humofhumans.com
  • What version of Ghost are you using? - v5.87.0
  • What configuration? - AWS EC2 (ubuntu 22.4), Node v18.20.3
  • What browser? - Chrome
  • What errors or information do you see in the console? - when I use www.humofhumans.com is throwing an unsecure connection in the browser but when I try without www it is working fine.
  • What steps could someone else take to reproduce the issue you’re having? access using humofhumans with and without www

Question
How do I resolve this issue?

It would seem that you’ve set up Ghost to use the bare domain and Let’s Encrypt has provisioned this – presently, your site isn’t accessible.

This is correct: you don’t what to serve one site on two domains. However, you may set up Nginx to redirect WWW to the bare domain.

1 Like

Can I provide both
https://humofhumans.com
and
https://www.humofhumans.com during the ghost installation for blog url?

Don’t worry I have used ghost url config to setup www url, followed by issuing ssl using ghost ssl and switched to short url without www.
added redirect commands in conf files of www and it works like a charm.