LoginSignup
4
2

More than 1 year has passed since last update.

Cloudflare でサブドメインのサイト登録をするには

Posted at

結論

Subdomain setup · Cloudflare DNS docs

  • 「Enterprise アカウント」が必要です。(Enterprise 契約のアカウントでのみ、解放しています。)

サブドメインのサイト登録

  • subdomain.example.tld のような形のサイト登録になります。

  • tld に入るのは、例えば jpco.jpcom など、ドメインを購入する際に選ぶようなものです。

Cloudflare アカウントの種類

以下のように Enterprise と Standard アカウントの2種類があります。

% http -A creds GET https://api.cloudflare.com/client/v4/accounts \
Content-Type:application/json | jq -r '.result[]|{name:.name, type:.type}'

{
  "name": "Enterprise Account",
  "type": "enterprise"
}
{
  "name": "Self-Serve Account",
  "type": "standard"
}

Enterprise アカウントでの登録例

Enterprise 契約のアカウントがあれば、任意のプラン(Free/Pro/Biz/Ent) でサイト登録できます。

image-20221227165554717

image-20221227170849173

Standard アカウントでの登録エラー

Standard アカウントでは、サブドメインのサイト登録は許可されていません。

image-20221227170006538

参考:アカウント種類別のユーザ権限管理

以下の記事で紹介されているユーザ権限管理は Enterprise アカウントでのみ提供されています。

ただし、以下の公式ブログにある通り、まもなく Standard アカウントでも上記 RBAC 機能が提供される予定です。

Now all customers can share access to their Cloudflare account with Role Based Access Controls

Starting today, role based access controls (RBAC), and all of our additional roles will be rolled out to users on every plan! Whether you are a small business or even a single user, you can ensure that you can add users only to parts of Cloudflare you deem appropriate.

参考

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2