# 主域名自动重定向到子域名（Digital Ocean Droplet）

**URL:** <https://meta.discourse.org/t/primary-domains-auto-redirects-to-sub-domain-digital-ocean-droplet/142432>\
**Category:** Self-hosting\
**Created:** [2020 年2 月 24 日 05:19 UTC](https://meta.discourse.org/t/primary-domains-auto-redirects-to-sub-domain-digital-ocean-droplet/142432 "2020-02-24T05:19:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2020 年2 月 24 日 13:34 UTC](https://meta.discourse.org/t/primary-domains-auto-redirects-to-sub-domain-digital-ocean-droplet/142432/3 "2020-02-24T13:34:30Z")

</div>

如果您愿意，我可以将您的 Apex（裸）域名指向 www，并强制使用 www。请参见 [forcewww.com](http://forcewww.com) 了解更多信息。

您的 HTTPS 证书会自动续期，您无需担心。有关更多信息，请参见 [letsencrypt.org](http://letsencrypt.org)。

---

_[View the full topic](https://meta.discourse.org/t/primary-domains-auto-redirects-to-sub-domain-digital-ocean-droplet/142432)._
