You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: products/pages/src/content/migrations/migrating-from-netlify/index.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,40 +6,42 @@ pcx-content-type: tutorial
6
6
7
7
# Migrating from Netlify to Pages
8
8
9
-
In this tutorial, you'll learn how to deploy your Netlify application to Cloudflare Pages.
9
+
In this tutorial, you will learn how to deploy your Netlify application to Cloudflare Pages.
10
10
11
11
<Aside>
12
-
You should already have an existing project deployed on Netlify that you'd like to host on Cloudflare Pages. Features such as Netlify's Forms and Serverless Functions are currently not supported in Cloudflare Pages.
12
+
13
+
Features such as Netlify's Forms and Serverless Functions are currently not supported in Cloudflare Pages. Cloudflare Pages does not directly support HTTP header customization, but it can be done through Workers. Refer to the ["Add custom HTTP headers"](/how-to/add-custom-http-headers) guide for more information.
14
+
13
15
</Aside>
14
16
15
17
## Finding your build command and build directory
16
18
17
-
To move your application to Cloudflare Pages, you'll need to find your build command and build directory. Cloudflare Pages will use this information to build your application and deploy it.
19
+
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.
18
20
19
21
In your Netlify Dashboard, find the project that you want to deploy. It should be configured to deploy from a GitHub Repo.
20
22
21
23

22
24
23
-
Inside of your site dashboard, select "Site Settings", and then "Build & Deploy".
25
+
Inside of your site dashboard, select **Site Settings**, and then **Build & Deploy**.
24
26
25
27

26
28
27
29

28
30
29
-
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, my **Build command** is `yarn build`, and my**Publish directory** is `build/`.
31
+
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/`.
30
32
31
33

32
34
33
35
## Creating a new Pages project
34
36
35
-
Once you've found your build directory and build command, you can move your project to Cloudflare Pages.
37
+
Once you have found your build directory and build command, you can move your project to Cloudflare Pages.
36
38
37
39
The [Getting started guide](/getting-started) will show you how to add your GitHub project to Cloudflare Pages.
38
40
39
41
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. When Pages finishes the initial deploy of your site, you will need to delete the Workers application to start sending requests to Cloudflare Pages.
40
42
41
43
## Cleaning up your old application and assigning the domain
42
44
43
-
In your DNS settings for your domain, make sure that you've updated the CNAME record for your domain from Netlify to Cloudflare Pages. With your DNS record updated, requests will go to your Pages application.
45
+
In **DNS** on the Cloudflare dashboard, 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.
44
46
45
-
Congrats! You've migrated your Netlify project to Cloudflare Pages.
47
+
With the above steps completed, you have successfully migrated your Netlify project to Cloudflare Pages.
Copy file name to clipboardExpand all lines: products/pages/src/content/platform/known-issues.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,6 @@ Here are some known bugs and issues that we're aware of with Cloudflare Pages:
7
7
- pages.dev subdomains currently can't be changed. If you need to change your pages.dev subdomain, delete your project and create a new one.
8
8
- Hugo builds automatically run an old version. To run the latest version of Hugo (for instance, 0.80.0), you'll need to set an environment variable. Set `HUGO_VERSION` to `0.80.0` or the Hugo version of your choice.
9
9
- By default, we use Node 10 in the Pages build environment. If you need to use a newer Node version, see our [Build configuration page](https://developers.cloudflare.com/pages/platform/build-configuration) for configuration options.
10
+
- For users migrating from Netifly, Cloudflare does not support Netlify's Forms and Serverless Functions features. Cloudflare Pages does not directly support HTTP header customization, but it can be done through Workers. Refer to the ["Add custom HTTP headers"](/how-to/add-custom-http-headers) guide for more information.
10
11
11
12
Having an issue that you don't see listed above? Let us know in the Cloudflare Workers Discord. Get your invite at [discord.gg/cloudflaredev](https://discord.gg/cloudflaredev), and share your bug report in the #pages-help channel.
0 commit comments