カスタムホスト名の削除
SaaSプロバイダーとして、顧客があなたのサービス提供に参加しなくなることがあります。その場合、これらのカスタムホスト名を通じてトラフィックのルーティングを停止する必要があります。
顧客のドメインがCloudflareを使用している場合、CloudflareのDNSを更新することで、カスタムホスト名を通じてトラフィックのルーティングを停止できます。
顧客がCNAMEレコードを更新して、もはやあなたのCNAMEターゲットを指さないようにすると:
- ドメインのトラフィックはカスタムホスト名を通じてルーティングされません。
- カスタムホスト名はMoved状態に入ります。
カスタムホスト名がMoved状態で7日間経過すると、Deleted状態に移行します。
顧客のドメインがCloudflareを使用していない場合、顧客が解約を決定した場合は、顧客のカスタムホスト名をゾーンから削除する必要があります。
これは、エンド顧客がCloudflareを使用している場合に特に重要です。なぜなら、カスタムホスト名がDNSターゲットをあなたのSaaSゾーンから外れるように変更すると、カスタムホスト名はあなたのサービスにルーティングされ続けるからです。これはカスタムホスト名の優先順位ロジックの結果です。
-
Log in to the Cloudflare dashboard ↗ and select your account and website.
-
Select SSL/TLS > Custom Hostnames.
-
Select the custom hostname and select Delete.
-
A confirmation window will appear. Acknowledge the warning and select Delete again.
APIを使用してカスタムホスト名と発行された証明書を削除するには、DELETEリクエストを送信します。
If your SaaS domain is also a domain using Cloudflare, you can use your Cloudflare DNS to remove your domain from your SaaS provider.
This means that - if you remove the DNS records pointing to your SaaS provider - Cloudflare will stop routing domain traffic through your SaaS provider and the associated custom hostname will enter a Moved state.
This also means that you need to keep DNS records pointing to your SaaS provider for as long as you are a customer. Otherwise, you could accidentally remove your domain from their services.