# Www A record is not working

**URL:** <https://forum.ghost.org/t/www-a-record-is-not-working/9277>\
**Category:** Developer help\
**Created:** [September 30, 2019, 12:49am UTC](https://forum.ghost.org/t/www-a-record-is-not-working/9277 "2019-09-30T00:49:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [September 30, 2019, 1:17pm UTC](https://forum.ghost.org/t/www-a-record-is-not-working/9277/2 "2019-09-30T13:17:21Z")

</div>

Howdy there @blegit. You might want to check out this discussion that’s on the same subject of setting up domains with LetsEncrypt

> [@LetsEncrypt SSL cert for domain and subdomain](https://forum.ghost.org/t/letsencrypt-ssl-cert-for-domain-and-subdomain/7213):
>
> I’ve just set up a Ghost instance on a DigitalOcean droplet for the URL [https://divide100k.com](https://divide100k.com). I also need [https://www.divide100k.com](https://www.divide100k.com) to work, but the command ghost setup nginx ssl is only requestinf an SSL certificate for the basic URL. As a workaround, I just modified the command and re-ran it: sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain divide100k.com,www.divide100k.com --webroot /var/www/divide100/system/nginx-root --reloadcmd "nginx -s reload" --accountemail ..…

There’s also a link to our docs on setting up domains with SSL:

> **[Ghost-CLI - A fully loaded tool for installation and configuration](https://ghost.org/docs/ghost-cli/#knowledgebase)**
>
> The best way to install, manage, and update your site locally or when self-hosting Ghost. A full guide for our advanced CLI tool.

---

_[View the full topic](https://forum.ghost.org/t/www-a-record-is-not-working/9277)._
