プライマリドメインがサブドメインへ自動リダイレクトされる(Digital Ocean Droplet)

新しい Droplet 上で Discourse のセットアップを進めていますが、何らかの理由でプライマリドメイン .example.com が自動的にサブドメイン community.example.com にリダイレクトされてしまいます。

また、プライマリドメインには Let’s Encrypt の SSL 証明書が適用されていない一方、サブドメインには適用されています。

さらに、現在の SSL 証明書の有効期限は 2020 年 5 月までです。これを延長する方法はありますか?リダイレクトの解決策、プライマリドメインへの同じ SSL 証明書の追加方法、そして SSL 証明書の有効期限を大幅に延長する方法について解説しているガイドをご存知であれば、ぜひご紹介ください。大変助かります。

「いいね!」 1

Check your DNS file to make sure you don’t have a CNAME record that redirects example.com to community.example.com.

If you are using the official install guide with a Let’s Encrypt SSL certificate, it is set up to auto-renew.

As for installing an SSL certificate for the primary domain, here are some example guides:

「いいね!」 5

If you want I have your apex (bare) domain point to www see forcewww.com.

Your https certificate is automatically renewed. You don’t need to worry about it. See letsencrypt.org for more info.

「いいね!」 2