# Making 'www' work with Discourse

**URL:** <https://meta.discourse.org/t/making-www-work-with-discourse/150785>\
**Category:** Product Support\
**Created:** [May 8, 2020, 4:23am UTC](https://meta.discourse.org/t/making-www-work-with-discourse/150785 "2020-05-08T04:23:38Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Milo](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Milo](https://meta.discourse.org/u/Milo)\
**Post date:** [May 10, 2020, 2:00pm UTC](https://meta.discourse.org/t/making-www-work-with-discourse/150785/13 "2020-05-10T14:00:49Z")

</div>

I have a similar issue and using a URL redirect record at the DNS level doesn’t solve the problem for me.

I installed Discourse using the hostname ‘[www.example.com](http://www.example.com)’ and the following DNS records:

```
A Record host:WWW value:my_server_ip
CNAME host:@ value: www.example.com
URL Redirect Record host:@ value:https://www.example.com

```

If I then use [SSL Server Test (Powered by Qualys SSL Labs)](https://www.ssllabs.com/ssltest/index.html) to check the URL `https://example.com` **without the WWW** I get a Certificate name mismatch and in my browser a `NET::ERR_CERT_COMMON_NAME_INVALID` error.

Apologies again if I’m missing something obvious here, networking isn’t my strong point!

---

_[View the full topic](https://meta.discourse.org/t/making-www-work-with-discourse/150785)._
