1
0
mirror of synced 2025-12-23 03:44:00 -05:00

Add warning about wildcard subdomains in DNS (#16846)

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
Tammy Metz
2020-12-15 18:27:41 -05:00
committed by GitHub
parent 117a4ae6b5
commit 6feed158c2
3 changed files with 11 additions and 6 deletions

View File

@@ -39,11 +39,7 @@ Make sure your site does not:
- Use more than one `www` subdomain. For example, both `www.example.com` and `www.anotherexample.com`.
- Use both an apex domain and custom subdomain. For example, both `example.com` and `docs.example.com`.
{% warning %}
**Warning:** We strongly recommend not using wildcard DNS records, such as `*.example.com`. A wildcard DNS record will allow anyone to host a {% data variables.product.prodname_pages %} site at one of your subdomains.
{% endwarning %}
{% data reusables.pages.wildcard-dns-warning %}
For a list of supported custom domains, see "[About custom domains and {% data variables.product.prodname_pages %}](/articles/about-custom-domains-and-github-pages/#supported-custom-domains)."