# DNS settings for www

**URL:** https://meta.discourse.org/t/dns-settings-for-www/325772
**Category:** Support
**Created:** [September 10, 2024, 6:58am UTC](https://meta.discourse.org/t/dns-settings-for-www/325772 "2024-09-10T06:58:33Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 11, 2024, 10:30pm UTC](https://meta.discourse.org/t/dns-settings-for-www/325772/5 "2024-09-11T22:30:33Z")

</div>

Did you follow [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685) ? You should enter the _domain_ where it says “domain2” and not a URL.

> [@microhit](#):
>
> Can we not just use redirect in dns settings?

Not if you want to have a valid cert for both domains. `http://sportstyle.com`

> [@microhit](#):
>
> ```plaintext
> to: "-d https://sportstyle.com --keylength"
> 
> ```

That (and the other one) should be

```plaintext
        to: "-d sportstyle.com --keylength"

```

---

_[View the full topic](https://meta.discourse.org/t/dns-settings-for-www/325772)._
