# AWS Route 53 and Wildcard domains

**URL:** <https://forum.hestiacp.com/t/aws-route-53-and-wildcard-domains/20183>\
**Category:** DNS\
**Created:** [September 16, 2025, 4:05pm UTC](https://forum.hestiacp.com/t/aws-route-53-and-wildcard-domains/20183 "2025-09-16T16:05:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![punkassjbrewster](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/punkassjbrewster/32/9062_2.png) [@punkassjbrewster](https://forum.hestiacp.com/u/punkassjbrewster)\
**Post date:** [September 16, 2025, 4:05pm UTC](https://forum.hestiacp.com/t/aws-route-53-and-wildcard-domains/20183/1 "2025-09-16T16:05:33Z")

</div>

I use AWS Route 53 to host my domains. Before installing Hestia, I set up the root user. Under the root account I set up my AWS credentials:

> aws configure

Then I enter the secret keys, etc.

Then I install Hestia CP. I create my domains as normal. In order to get a wildcard certificate, I enter:

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/e/e39f6fcb8c0b4d96220632a5c9fa4ee2cac0f663.png)

It may take a few times, usually 2 for some reason, for the certificate to be created. You may see a warning about the \_acme-challenge not found. Try it again until you get the certificate installed.

The Domain Dashboard should look like this, indicating a wildcard certificate is installed:

![image](https://forum.hestiacp.com/uploads/default/original/2X/f/f1cdba16eeb8a290d7f60daade66198835208723.png)

When you create email accounts, be sure to open the SSL ports on your router, 465 and 993. Also the mail domain is [mail.domain.com](http://mail.domain.com) and not imap. nor smtp.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/10259_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [September 16, 2025, 4:31pm UTC](https://forum.hestiacp.com/t/aws-route-53-and-wildcard-domains/20183/2 "2025-09-16T16:31:17Z")

</div>

Hestia doesn’t support using other DNS providers to issue wildcard certificates. This means you can’t issue a wildcard certificate by validating it through AWS Route 53. You can only issue a wildcard certificate if Hestia is managing DNS for your domains.

> [@punkassjbrewster](#):
>
> The Domain Dashboard should look like this, indicating a wildcard certificate is installed:

No, that indicates that you have a domain `sweetpikel.com` and an alias `*.sweetpikel.com`, that’s all.

Right know your web domain is serving the certificate valid for `sweetpikel.com` and `www.sweetpikel.com`

```auto
❯ ssl_check sweetpikel.com 443
2025-09-16 18:27 - Checking sweetpikel.com on port 443

issuer=C = US, O = Let's Encrypt, CN = R12
subject=CN = sweetpikel.com
notBefore=Sep 14 15:44:37 2025 GMT
notAfter=Dec 13 15:44:36 2025 GMT
SANs: sweetpikel.com,www.sweetpikel.com

```

> [@punkassjbrewster](#):
>
> When you create email accounts, be sure to open the SSL ports on your router, 465 and 993. Also the mail domain is [mail.domain.com](http://mail.domain.com) and not imap. nor smtp.

Right now you are not even using a valid certificate for `mail.sweetpikel.com` neither for smtp nor imap, the certificate is only valid for your server’s hostname `libra.punkasskingdom.net`

```auto
❯ ssl_check mail.sweetpikel.com 465
2025-09-16 18:29 - Checking mail.sweetpikel.com on port 465

issuer=C = US, O = Let's Encrypt, CN = R12
subject=CN = libra.punkasskingdom.net
notBefore=Sep 14 13:37:41 2025 GMT
notAfter=Dec 13 13:37:40 2025 GMT
SANs: libra.punkasskingdom.net

```

```auto
❯ ssl_check mail.sweetpikel.com 993
2025-09-16 18:29 - Checking mail.sweetpikel.com on port 993

issuer=C = US, O = Let's Encrypt, CN = R12
subject=CN = libra.punkasskingdom.net
notBefore=Sep 14 13:37:41 2025 GMT
notAfter=Dec 13 13:37:40 2025 GMT
SANs: libra.punkasskingdom.net

```
