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

**URL:** <https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502>\
**Category:** Installation\
**Created:** [June 29, 2024, 8:17pm UTC](https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502 "2024-06-29T20:17:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSS\_19](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@SSS\_19](https://forum.ghost.org/u/SSS_19)\
**Post date:** [June 29, 2024, 8:17pm UTC](https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502/1 "2024-06-29T20:17:13Z")

</div>

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](http://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](http://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?

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [June 30, 2024, 8:54am UTC](https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502/2 "2024-06-30T08:54:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SSS\_19](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@SSS\_19](https://forum.ghost.org/u/SSS_19)\
**Post date:** [June 30, 2024, 1:26pm UTC](https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502/3 "2024-06-30T13:26:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SSS\_19](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@SSS\_19](https://forum.ghost.org/u/SSS_19)\
**Post date:** [June 30, 2024, 2:14pm UTC](https://forum.ghost.org/t/https-error-while-using-www-domainname-and-no-error-without-www/48502/4 "2024-06-30T14:14:22Z")

</div>

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.
