B2C Commerce 環境の各種 IP アドレスの用途と確認方法について説明します。アウトバウンド通信、Business Manager、メール送信、ストアフロントの IP アドレスが含まれます。
B2C Commerce (B2C コマース) 環境から外部システムに通信(サービス呼び出しなど)を行う際の送信側の IP アドレスです。 この際の送信元である B2C Commerce 側の IP アドレスとしては POD Outgoing IP アドレスが使用されます。 受信側のファイアウォール設定において B2C Commerce 側からの通信を許可する際は POD Outgoing IP アドレスを使用します。
POD Outgoing IP アドレスの一覧は以下のナレッジで確認できます。
B2C Commerce 環境の Business Manager URL のホスト名としては以下形式(ハイフン区切り)のホスト名が使用されます。
例: APAC 地域で「example」という ID として 1 番目にプロビジョンされたレルムの Production 環境
production-ap01-example.demandware.net
Business Manager のホスト名として使用されるハイフン区切りのホスト名は Cloudflare CDN を経由するため、 Cloudflare 側の IP アドレスに解決されます。
この IP アドレスは nslookup や dig コマンドで確認できます。詳細は以下のナレッジを確認してください。
具体的な IP アドレスは Cloudflare 社にて管理されます。
Cloudflare の IP アドレスレンジについては、以下の外部文書を参照してください。
以下のように、区切り文字がピリオド(.)となっている Business Manager ホスト名には、A レコードで IP アドレスが割り当てられています。この IP アドレスは nslookup や dig コマンドで確認できます。
例: APAC 地域で「example」という ID として 1 番目にプロビジョンされたレルムの Production 環境
production.ap01.example.demandware.net
このピリオド形式のホスト名に割り当てられている IP アドレスは固定の IP アドレスです。また、この IP アドレスには PTR レコードが設定されているため、IP アドレスからホスト名への逆引き(リバース DNS ルックアップ)も可能です。
ただし、ブラウザなどで Business Manager やストアフロント側にその IP アドレスをホスト名としてアクセスすることはできません。
この IP アドレスは、インスタンスから Mail.send() でメールを送信する際の送信側の IP アドレスとして使用されます。
以下のナレッジを併せて参照してください。
Production 環境などの埋め込み CDN が有効な環境で、サイト稼働のために正しく DNS 構成を行ったストアフロントについては、サイトのカスタムドメインの CNAME レコードとして埋め込み CDN サービスプロバイダーである Cloudflare 側のドメインを設定します。
例えば「www.example.com」というドメインでサイトを構築する場合、「www.example.com」ドメインの CNAME レコードとしては「cc-ecdn.net」または「cloudflare.net」のサブドメインを設定します。 その「cc-ecdn.net」または「cloudflare.net」のサブドメインには、A レコードとして Cloudflare 側の IP アドレスが動的に割り当てられます。
※ B2C Commerce 埋め込み CDN(Cloudflare)の前面に外部 CDN を構成していない場合に限ります。
この IP アドレスは nslookup や dig コマンドで確認できます。以下は dig コマンドの実行結果例です。
$ dig +noall +answer www.example.com
www.example.com. 300 IN CNAME commcloud.prod-abcd-example-com.cc-ecdn.net.
commcloud.prod-abcd-example-com.cc-ecdn.net. 300 IN A 103.21.244.1
※上記の dig コマンド結果は実際のコマンド実行結果でなく、あくまで想定される一例です。
ブラウザからストアフロントにアクセスした際は、上記の方法で取得した Cloudflare 側の IP アドレスが使用されます。具体的な IP アドレスは Cloudflare 社にて管理されます。
Cloudflare の IP アドレスレンジについては、以下の外部文書を参照してください。
005232538

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.