実現したいこと
cloudflare 独自ドメインにworkersでデプロイしたアプリケーションを紐付けたい-
前提
https://shin-hack.com/notion-domain/
をもとに取得した独自ドメイン上でNotionページを公開しようとしています。
とりあえずworkersでhello-worldと返すアプリケーションを作成し、独自ドメインに紐付けてアクセスしたら、「hello-world」返してもらう仕様にしようとしたのですが、下記のようなエラーが出てきます。
発生している問題・エラーメッセージ
Error 1000 DNS points to prohibited IP What happened? You've requested a page on a website (test-01.space) that is on the Cloudflare network. Unfortunately, it is resolving to an IP address that is creating a conflict within Cloudflare's system. What can I do? If you are the owner of this website: you should login to Cloudflare and change the DNS A records for test-01.space to resolve to a different IP address.
該当のソースコード
JavaScript
1 9 10 11export default {12 async fetch(request, env, ctx) {13 return new Response('Hello World!');14 },15};
試したこと
https://qiita.com/iwaken71/items/6fb63a7ba500b59437e5
の通りに試しにドメインのDNS設定をnotion.soのIPアドレスに変更しましたが上手くいきませんでした
ここに問題に対して試したことを記載してください。
補足情報(FW/ツールのバージョンなど)
workersの方で作成したアプリケーション自体は「hello-world」を返すので特に問題はなさそうでした。
ここにより詳細な情報を記載してください。
0 コメント