1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Files
docs/data/reusables/pages/www-and-apex-domain-recommendation.md
Emily Gould fbc83618dd Make GitHub Pages content a top-level doc set (#18480)
* Add new product to products.yml

* Move directory to new location

* Update new index page

* Remove old category from github product index

* Add getting started category

* Add Jekyll category

* Create custom domain category

* Update links to custom domain articles

* Add redirects and update links for getting started articles

* Add redirects and update links for jekyll articles

* Fix link

* Fix link

* Fix link

* Fix link
2021-04-01 20:09:50 +00:00

675 B

If you are using an apex domain as your custom domain, we recommend also setting up a www subdomain. If you configure the correct records for each domain type through your DNS provider, {% data variables.product.prodname_pages %} will automatically create redirects between the domains. For example, if you configure www.example.com as the custom domain for your site, and you have {% data variables.product.prodname_pages %} DNS records set up for the apex and www domains, then example.com will redirect to www.example.com. Note that automatic redirects only apply to the www subdomain. Automatic redirects do not apply to any other subdomains, such as blog.