Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Di chuyển từ Netlify sang Pages Migrating from Netlify to Pages ការធ្វើដំណើរពី Netlify ទៅ Pages

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc Developer Platform — thực hành triển khai code, API và dữ liệu trên edge/serverless. Tutorial «Migrating từ Netlify to Pages» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

Learn how to migrate from Netlify to Cloudflare. This guide includes instructions for migrating redirects and headers.

តើធ្វើដូចម្តេចដើម្បីផ្លាស់ប្តូរពី Netlify ទៅ Cloudflare? វគ្គបណ្តុះបណ្តាលនេះរួមបញ្ចូលទាំងការបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តាល។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Cần tài khoản Cloudflare, Wrangler CLI và (thường) hoàn thành hướng dẫn Get started của Workers/Pages.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Requires a Cloudflare account, Wrangler CLI, and (typically) completing the Workers/Pages Get started guide.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • តម្រូវឱ្យមានគណនី Cloudflare, Wrangler CLI និង (ប្រហែលជា) ការបញ្ចប់គណនី Workers/Pages Get started ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Tài liệu gốc — rà soát lần cuối: almost 4 years ago Official docs — last reviewed: almost 4 years ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: almost 4 years ago

Overview Overview Overview

Trong tutorial này, bạn sẽ migrate your Netlify application to Cloudflare Pages.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trong hướng dẫn này, bạn sẽ học cách di chuyển ứng dụng Netlify của mình sang Cloudflare Pages.
In this tutorial, you will learn how to migrate your Netlify application to Cloudflare Pages.
ក្នុងការបណ្តុះបណ្តាលនេះអ្នកនឹងរៀនពីរបៀបធ្វើឱ្យកម្មវិធី Netlify របស់អ្នកទៅ Cloudflare Pages ។

Tìm lệnh build và xây dựng thư mục Finding your build command and build directory សូមស្វែងរកគោលបំណង build និង build directory របស់អ្នក

Phần «Finding your build command và build directory» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Finding your build command and build directory" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «សូមស្វែងរកគោលបំណង build និង build directory របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Để di chuyển ứng dụng của bạn đến Cloudflare Pages, hãy tìm lệnh xây dựng và thư mục xây dựng của bạn. Cloudflare Pages sẽ sử dụng thông tin này để tạo và triển khai ứng dụng của bạn.
To move your application to Cloudflare Pages, find your build command and build directory. Cloudflare Pages will use this information to build and deploy your application.
ប្រសិនបើអ្នកចង់ផ្លាស់ប្តូរកម្មវិធីរបស់អ្នកទៅ Cloudflare Pages, សូមស្វែងរកជម្រើស build និង build directory របស់អ្នក។ Cloudflare Pages នឹងប្រើព័ត៌មាននេះដើម្បីបង្កើតនិងដំឡើងកម្មវិធីរបស់អ្នក។
Trong bảng điều khiển Netlify của bạn, tìm dự án mà bạn muốn triển khai. Nó nên được cấu hình để triển khai từ một kho lưu trữ GitHub.
In your Netlify Dashboard, find the project that you want to deploy. It should be configured to deploy from a GitHub repository.
នៅលើប្រព័ន្ធប្រតិបត្តិការ Netlify របស់អ្នកស្វែងរកគម្រោងដែលអ្នកចង់ដំឡើង។ វាត្រូវបានកំណត់ដើម្បីដំឡើងពី repo GitHub ។
Bên trong bảng điều khiển trang web của bạn, chọn Site Settings, và sau đó Build & Deploy.
Inside of your site dashboard, select Site Settings, and then Build & Deploy.
នៅខាងក្នុងប្រព័ន្ធប្រតិបត្តិការរបស់គេហទំព័ររបស់អ្នក, ជ្រើស Site Settings ហើយបន្ទាប់មក Build & Deploy ។
Trong tab Build & Deploy, hãy tìm bảng Build settings, trong đó sẽ có các trường Build command và Publish directory. Lưu chúng để triển khai đến Cloudflare Pages. Trong hình dưới đây, Build command là yarn build, và Publish directory là build/.
In the Build & Deploy tab, find the Build settings panel, which will have the Build command and Publish directory fields. Save these for deploying to Cloudflare Pages. In the below image, Build command is yarn build, and Publish directory is build/.
នៅលើបណ្តាញ Build & Deploy សូមស្វែងរកបណ្តាញ Build settings ដែលនឹងមានបណ្តាញ Build command និង Publish directory ។ ការសរសេរទាំងនេះដើម្បីដំឡើងទៅ Cloudflare Pages ។ ក្នុងរូបថតខាងក្រោម Build command គឺជា yarn build និង Publish directory គឺជា build/ ។

Chuyển đổi redirects và headers Migrating redirects and headers ការផ្លាស់ប្តូរ redirect និង headers

Phần «Migrating redirects và headers» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Migrating redirects and headers" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការផ្លាស់ប្តូរ redirect និង headers» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu trang web của bạn bao gồm tệp <em>redirects trong thư mục xuất bản của bạn, bạn có thể sử dụng cùng một tệp trong Cloudflare Pages và các chuyển hướng của bạn sẽ được thực hiện thành công. Nếu các chuyển hướng của bạn nằm trong tệp netlify.toml, bạn sẽ cần phải thêm chúng vào thư mục </em>redirects. Cloudflare Pages hiện đang cung cấp supports for advanced redirects giới hạn. Trong trường hợp bạn có hơn 2000 quy tắc chuyển hướng tĩnh và / hoặc 100 quy tắc chuyển hướng động, bạn nên sử dụng Bulk Redirects.
If your site includes a <em>redirects file in your publish directory, you can use the same file in Cloudflare Pages and your redirects will execute successfully. If your redirects are in your netlify.toml file, you will need to add them to the </em>redirects folder. Cloudflare Pages currently offers limited supports for advanced redirects. In the case where you have over 2000 static and/or 100 dynamic redirects rules, it is recommended to use Bulk Redirects.
If your site includes a <em>redirects file in your publish directory, you can use the same file in Cloudflare Pages and your redirects will execute successfully. If your redirects are in your netlify.toml file, you will need to add them to the </em>redirects folder. Cloudflare Pages currently offers limited supports for advanced redirects. In the case where you have over 2000 static and/or 100 dynamic redirects rules, it is recommended to use Bulk Redirects.
Các tệp tiêu đề của bạn cũng có thể được di chuyển vào một thư mục <em>headers trong thư mục xuất bản của bạn. Điều quan trọng cần lưu ý là tiêu đề tùy chỉnh được xác định trong tệp </em>headers hiện không được áp dụng cho các câu trả lời từ các hàm, ngay cả khi đường dẫn hàm khớp với mẫu URL. Để tìm hiểu thêm về cách handle headers, refer to Headers.
Your header files can also be moved into a <em>headers folder in your publish directory. It is important to note that custom headers defined in the </em>headers file are not currently applied to responses from functions, even if the function route matches the URL pattern. To learn more about how to handle headers, refer to Headers.
ឯកសារ header របស់អ្នកអាចត្រូវបានផ្លាស់ប្តូរទៅក្នុងឯកសារ <em>headers នៅក្នុងឯកសារបោះពុម្ពរបស់អ្នក។ វាគឺជាការសំខាន់ក្នុងការយល់ដឹងថានៅពេលនេះថានៅក្នុងឯកសារ </em>headers មិនត្រូវបានប្រើសម្រាប់ការឆ្លើយតបពីតម្រូវការប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះប៉ុណ្ណោះ។ សូមអានបន្ថែមអំពីរបៀបធ្វើ handle headers, refer to Headers ។
Chuyển hướng thực hiện trước khi headers. Trong trường hợp yêu cầu khớp với các quy tắc trong cả hai tập tin, chuyển hướng sẽ được ưu tiên.
Redirects execute before headers. In the case of a request matching rules in both files, the redirect will take precedence.
ការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាមុនពេលការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជា។ ប្រសិនបើការចែករំលែកទម្រង់ដែលសម្តែងទម្រង់ទាំងពីរនៅក្នុងឯកសារទាំងពីរនេះ, ការចែករំលែកទម្រង់នេះនឹងមានប្រយោជន៍។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Forms Forms Forms

Phần «Forms» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Forms" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Forms» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trong thành phần form của bạn, loại bỏ thuộc tính data-netlify = "true" hoặc thuộc tính Netlify từ thẻ <form>. Bây giờ bạn có thể đặt logic form của mình dưới dạng hàm Pages và thu thập các mục vào cơ sở dữ liệu hoặc Airtable. Hãy tham khảo hướng dẫn handling form submissions with Pages Functions để biết thêm thông tin.
In your form component, remove the data-netlify = "true" attribute or the Netlify attribute from the <form> tag. You can now put your form logic as a Pages Function and collect the entries to a database or an Airtable. Refer to the handling form submissions with Pages Functions tutorial for more information.
នៅលើផ្នែក form របស់អ្នក, remove the data-netlify = "true" attribute or the Netlify attribute from the <form> tag. ឥឡូវនេះអ្នកអាចដំឡើងប្រវត្តិសាស្រ្ត form របស់អ្នកជាប្រវត្តិសាស្រ្ត Pages ហើយទាញយកឯកសារនៅក្នុងទិន្នន័យឬ Airtable ។ សូមពិនិត្យមើល handling form submissions with Pages Functions សៀវភៅសម្រាប់ព័ត៌មានបន្ថែមទៀត។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Các chức năng serverless Serverless functions សកម្មភាព Serverless

Netlify functions and Pages Functions share the same filesystem convention using a functions directory in the base of your project to handle your serverless functions. However, the syntax and how the functions are deployed differs. Pages Functions run trên Cloudflare Workers,…

Read the "Serverless functions" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «សកម្មភាព Serverless» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Các hàm Netlify và hàm Pages chia sẻ cùng một quy ước hệ thống tệp bằng cách sử dụng thư mục functions ở cơ sở dự án của bạn để xử lý các hàm không có máy chủ của bạn. Tuy nhiên, ngữ pháp và cách các chức năng được triển khai khác nhau. Pages Các hàm chạy trên Cloudflare Workers, mặc định hoạt động trên mạng toàn cầu Cloudflare và không yêu cầu bất kỳ mã hoặc cấu hình bổ sung nào để triển khai.
Netlify functions and Pages Functions share the same filesystem convention using a functions directory in the base of your project to handle your serverless functions. However, the syntax and how the functions are deployed differs. Pages Functions run on Cloudflare Workers, which by default operate on the Cloudflare global network, and do not require any additional code or configuration for deployment.
សម្ភារៈ Netlify និង Pages សម្ភារៈរួមបញ្ចូលគ្នានៃប្រព័ន្ធឯកសារដូចគ្នានេះដោយប្រើប្រព័ន្ធឯកសារ functions នៅកម្រិតខាងក្រោមនៃគម្រោងរបស់អ្នកដើម្បីគ្រប់គ្រងសម្ភារៈដោយគ្មានបណ្តាញ។ ទោះជាយ៉ាងណាក៏ដោយការប្រៀបធៀបនិងរបៀបដែលគោលបំណងត្រូវបានដំឡើងគឺខុសគ្នា។ Pages ឧបករណ៍ដំណើរការនៅលើ Cloudflare Workers ដែលជាទូទៅដំណើរការនៅលើបណ្តាញពិភពលោក Cloudflare ហើយមិនត្រូវការកូដឬការកំណត់បន្ថែមណាមួយសម្រាប់ការដំឡើង។
Cloudflare Pages Chức năng cũng cung cấp middleware có thể xử lý bất kỳ logic nào bạn cần để chạy trước và / hoặc sau khi trình xử lý đường dẫn chức năng của bạn.
Cloudflare Pages Functions also provides middleware that can handle any logic you need to run before and/or after your function route handler.
Cloudflare Pages ឧបករណ៍ផងដែរផ្តល់នូវ middleware ដែលអាចដំណើរការគ្រប់ប្រវត្តិសាស្រ្តដែលអ្នកត្រូវការដើម្បីដំណើរការមុនពេលនិង / ឬបន្ទាប់ពីអ្នកដំណើរការដំណើរការបច្ចុប្បន្នរបស់អ្នក។

Chức năng Syntax Functions syntax សកម្មភាព Syntax

Phần «Functions syntax» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Functions syntax" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «សកម្មភាព Syntax» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Các hàm Netlify xuất một trình xử lý sự kiện async chấp nhận một sự kiện và bối cảnh như các đối số. Trong trường hợp hàm Pages, bạn sẽ phải xuất một hàm onRequest duy nhất chấp nhận đối tượng context. Đối tượng context chứa tất cả thông tin cho yêu cầu, chẳng hạn như request, env, params, và trả về một câu trả lời mới. Tìm hiểu thêm về writing your first function
Netlify functions export an async event handler that accepts an event and a context as arguments. In the case of Pages Functions, you will have to export a single onRequest function that accepts a context object. The context object contains all the information for the request such as request, env, params, and returns a new Response. Learn more about writing your first function
សកម្មភាព Netlify បាននាំចេញដំណើរការប្រវត្តិសាស្រ្ត async ដែលទទួលបានប្រវត្តិសាស្រ្តនិងប្រវត្តិសាស្រ្តជាអនុម័ត។ ក្នុងករណី Pages សកម្មភាព, អ្នកនឹងត្រូវនាំចេញសកម្មភាព onRequest មួយតែមួយដែលទទួលបានសកម្មភាព context ។ សម្ភារៈ context មានទិន្នន័យទាំងអស់សម្រាប់តម្រូវការដូចជា request, env, params និងបង្ហាញការឆ្លើយតបថ្មី។ សូមអរគុណចំពោះ writing your first function
Hello World với chức năng Netlify:
Hello World with Netlify functions:
Hello World ជាមួយនឹងកម្មវិធី Netlify:
JavaScript Đánh giá
JavaScript
កុំព្យូទ័រ
text
exports.handler = async function (event, context) {

  return {

    statusCode: 200,

    body: JSON.stringify({ message: "Hello World" }),

  };

};
Hello World với Pages Chức năng:
Hello World with Pages Functions:
Hello World ជាមួយ Pages សមត្ថភាព:
JavaScript Đánh giá
JavaScript
កុំព្យូទ័រ
text
export async function onRequestPost(request) {

  return new Response(`Hello world`);

}

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Các cấu hình Netlify khác Other Netlify configurations លក្ខណៈពិសេស Netlify

Phần «Other Netlify configurations» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Other Netlify configurations" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «លក្ខណៈពិសេស Netlify» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Tệp netlify.toml của bạn có thể có các cấu hình khác được hỗ trợ bởi Pages, chẳng hạn như triển khai xem trước, chỉ định thư mục xuất bản và plugin. Bạn có thể xóa các tập tin sau khi di chuyển cấu hình của bạn.
Your netlify.toml file might have other configurations that are supported by Pages, such as, preview deployment, specifying publish directory, and plugins. You can delete the file after migrating your configurations.
ឯកសារ netlify.toml របស់អ្នកអាចមានកំណត់ផ្គង់ផ្សេងទៀតដែលត្រូវបានគាំទ្រដោយ Pages ដូចជាការបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តុះបណ្តាល។ អ្នកអាចដោះស្រាយឯកសារបន្ទាប់ពីការដោះស្រាយកំណត់របស់អ្នក។

Access quản lý Access management Access ការគ្រប់គ្រង

Phần «Access management» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Access management" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Access ការគ្រប់គ្រង» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Bạn có thể di chuyển quản lý access sang Cloudflare Zero Trust cho phép bạn quản lý xác thực người dùng cho các ứng dụng, ghi nhật ký sự kiện và yêu cầu của bạn.
You can migrate your access management to Cloudflare Zero Trust which allows you to manage user authentication for your applications, event logging and requests.
អ្នកអាចផ្លាស់ប្តូរការគ្រប់គ្រងរបស់អ្នក access ទៅ Cloudflare Zero Trust ដែលអនុញ្ញាតឱ្យអ្នកគ្រប់គ្រងការអនុញ្ញាតឱ្យអ្នកប្រើប្រាស់សម្រាប់កម្មវិធីរបស់អ្នក, ការកំណត់ដំណោះស្រាយនិងតម្រូវការ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Tạo một dự án mới Pages Creating a new Pages project ការបង្កើតគម្រោងថ្មី Pages

Phần «Creating mới Pages dự án» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Creating a new Pages project" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការបង្កើតគម្រោងថ្មី Pages» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Một khi bạn đã tìm thấy thư mục xây dựng và lệnh xây dựng, bạn có thể di chuyển dự án của bạn đến Cloudflare Pages.
Once you have found your build directory and build command, you can move your project to Cloudflare Pages.
នៅពេលដែលអ្នកបានរកឃើញប្រកាសកំណត់រចនាសម្ព័ន្ធនិងប្រកាសកំណត់រចនាសម្ព័ន្ធរបស់អ្នកអ្នកអាចផ្លាស់ប្តូរគម្រោងរបស់អ្នកទៅ Cloudflare Pages ។
Get started guide sẽ hướng dẫn bạn cách thêm dự án GitHub vào Cloudflare Pages.
The Get started guide will instruct you how to add your GitHub project to Cloudflare Pages.
Get started guide នឹងបង្ហាញអ្នកពីរបៀបដើម្បីបន្ថែមគម្រោង GitHub របស់អ្នកទៅ Cloudflare Pages ។
Nếu bạn chọn sử dụng tên miền tùy chỉnh cho Pages của mình, bạn có thể đặt nó vào cùng tên miền tùy chỉnh với ứng dụng Netlify hiện đang được triển khai. Để gán tên miền tùy chỉnh cho dự án Pages của bạn, hãy tham khảo Custom Domains.
If you choose to use a custom domain for your Pages, you can set it to the same custom domain as your currently deployed Netlify application. To assign a custom domain to your Pages project, refer to Custom Domains.
ប្រសិនបើអ្នកជ្រើសរើសប្រព័ន្ធផ្សព្វផ្សាយផ្ទាល់ខ្លួនសម្រាប់ Pages របស់អ្នកអ្នកអាចកំណត់វាទៅជាប្រព័ន្ធផ្សព្វផ្សាយផ្ទាល់ខ្លួនដូចជាកម្មវិធី Netlify ដែលអ្នកដំឡើងឥឡូវនេះ។ ប្រសិនបើអ្នកចង់កំណត់អាសយដ្ឋានផ្ទាល់ខ្លួនដល់គម្រោង Pages របស់អ្នក, សូមមើល Custom Domains ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Làm sạch ứng dụng cũ của bạn và gán tên miền Cleaning up your old application and assigning the domain ការចែកចាយកម្មវិធីថ្មីរបស់អ្នកនិងកំណត់តំបន់បណ្ដាញ

Phần «Cleaning up your old ứng dụng và assigning domain» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Cleaning up your old application and assigning the domain" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការចែកចាយកម្មវិធីថ្មីរបស់អ្នកនិងកំណត់តំបន់បណ្ដាញ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trong bảng điều khiển Cloudflare, đi đến trang DNS Records.
In the Cloudflare dashboard, go to the DNS Records page.
ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ DNS Records ។
Xem xét rằng bạn đã cập nhật bản ghi CNAME cho tên miền của bạn từ Netlify đến Cloudflare Pages. Với bản ghi DNS được cập nhật, các yêu cầu sẽ đi đến ứng dụng Pages của bạn.
Review that you have updated the CNAME record for your domain from Netlify to Cloudflare Pages. With your DNS record updated, requests will go to your Pages application.
ពិនិត្យឡើងវិញថាអ្នកបានបច្ចុប្បន្នទិន្នន័យ CNAME សម្រាប់ទីផ្សាររបស់អ្នកពី Netlify ទៅ Cloudflare Pages ។ ជាមួយនឹងការបច្ចុប្បន្នភាព DNS របស់អ្នកសំណួរនឹងចូលទៅក្នុងកម្មវិធី Pages របស់អ្នក។
Trong DNS, Content của bản ghi của bạn nên là tên miền con <SUBDOMAIN>.pages.dev của bạn.
In DNS, your record's Content should be your <SUBDOMAIN>.pages.dev subdomain.
នៅ DNS, Content នៃសៀវភៅរបស់អ្នកគួរតែជាឧបករណ៍ <SUBDOMAIN>.pages.dev របស់អ្នក។
Sau khi hoàn thành các bước trên, bạn đã di chuyển thành công dự án Netlify của mình sang Cloudflare Pages.
With the above steps completed, you have successfully migrated your Netlify project to Cloudflare Pages.
នៅពេលដែលជំហានខាងលើត្រូវបានបញ្ចប់, អ្នកបានផ្លាស់ប្តូរគម្រោង Netlify របស់អ្នកទៅ Cloudflare Pages ។
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/pages/","name":"Pages"}},{"@type":"ListItem","position":3,"item":{"@id":"/pages/migrations/","name":"Migration guides"}},{"@type":"ListItem","position":4,"item":{"@id":"/pages/migrations/migrating-from-netlify/","name":"Migrating from Netlify to Pages"}}]}

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗