|
9 | 9 |
|
10 | 10 | --- |
11 | 11 |
|
12 | | -Orange-to-Orange (O2O) is a specific traffic routing configuration where traffic routes through two Cloudflare zones: the first Cloudflare zone is owned by customer 1 and the second Cloudflare zone is owned by customer 2, who is considered a SaaS Provider. |
| 12 | +import { Example } from "~/components"; |
13 | 13 |
|
14 | | -If one or more hostnames are onboarded to a SaaS Provider that uses Cloudflare products as part of their platform, specifically the [Cloudflare for SaaS product](/cloudflare-for-platforms/cloudflare-for-saas/), those hostnames will be created as Custom Hostnames in the SaaS Provider's zone. The Custom Hostnames must be activated to give the SaaS Provider permission to route traffic for the hostname through their zone. |
| 14 | +Orange-to-Orange (O2O) is a specific traffic routing configuration where traffic routes through two Cloudflare zones: the first Cloudflare zone is owned by customer 1 and the second Cloudflare zone is owned by customer 2, who is considered a SaaS provider. |
15 | 15 |
|
16 | | -## Without O2O |
| 16 | +If one or more hostnames are onboarded to a SaaS Provider that uses Cloudflare products as part of their platform - specifically the [Cloudflare for SaaS product](/cloudflare-for-platforms/cloudflare-for-saas/) - those hostnames will be created as [custom hostnames](/cloudflare-for-platforms/cloudflare-for-saas/domain-support/) in the SaaS Provider's zone. |
17 | 17 |
|
18 | | -If you do not have your own Cloudflare zone and have only onboarded one or more of your hostnames to a SaaS Provider, then O2O will not be enabled. |
| 18 | +To give the SaaS provider permission to route traffic through their zone, any custom hostname must be activated by you (the SaaS customer) by placing a [CNAME record](/cloudflare-for-platforms/cloudflare-for-saas/start/getting-started/#3-have-customer-create-cname-record) on your authoritative DNS. If your authoritative DNS is Cloudflare, you have the option to [proxy](/fundamentals/concepts/how-cloudflare-works/#application-services) your CNAME record, achieving an Orange-to-Orange setup. |
19 | 19 |
|
20 | | -Without O2O enabled, the settings configured in the SaaS Provider's zone will be applied to the traffic. |
| 20 | + |
| 21 | +## With O2O |
| 22 | + |
| 23 | +If you have your own Cloudflare zone (`example.com`) and your zone contains a [proxied DNS record](/dns/manage-dns-records/reference/proxied-dns-records/) matching the custom hostname (`mystore.example.com`) with a **CNAME** target defined by the SaaS Provider, then O2O will be enabled. |
| 24 | + |
| 25 | +<Example> |
| 26 | + |
| 27 | +DNS management for **example.com** |
| 28 | + |
| 29 | +| **Type** | **Name** | **Target** | **Proxy status** | |
| 30 | +| -------- | ------------ | --------------------------------- | ---------------- | |
| 31 | +| `CNAME` | `mystore` | `customers.saasprovider.com` | Proxied | |
| 32 | + |
| 33 | +</Example> |
| 34 | + |
| 35 | +With O2O enabled, the settings configured in your Cloudflare zone will be applied to the traffic first, and then the settings configured in the SaaS provider's zone will be applied to the traffic second. |
21 | 36 |
|
22 | 37 | ```mermaid |
23 | 38 | flowchart TD |
24 | | -accTitle: Your zone using a SaaS provider, but without O2O |
| 39 | +accTitle: O2O-enabled traffic flow diagram |
25 | 40 |
|
26 | 41 | A[Website visitor] |
27 | 42 |
|
28 | 43 | subgraph Cloudflare |
29 | | - B[SaaS Provider-owned zone] |
| 44 | + B[Customer-owned zone] |
| 45 | + C[SaaS Provider-owned zone] |
30 | 46 | end |
31 | 47 |
|
32 | | -C[SaaS Provider Origin] |
| 48 | +D[SaaS Provider Origin] |
33 | 49 |
|
34 | 50 | A --> B |
35 | 51 | B --> C |
| 52 | +C --> D |
36 | 53 | ``` |
| 54 | +## Without O2O |
37 | 55 |
|
38 | | -## With O2O |
39 | | - |
40 | | -If you have your own Cloudflare zone and your zone contains a **Proxied** DNS record matching the Custom Hostname with a **CNAME** target provided by the SaaS Provider, then O2O will be enabled. |
| 56 | +If you do not have your own Cloudflare zone and have only onboarded one or more of your hostnames to a SaaS Provider, then O2O will not be enabled. |
41 | 57 |
|
42 | | -With O2O enabled, the settings configured in your Cloudflare zone will be applied to the traffic first, and then the settings configured in the SaaS Provider's zone will be applied to the traffic second. |
| 58 | +Without O2O enabled, the settings configured in the SaaS Provider's zone will be applied to the traffic. |
43 | 59 |
|
44 | 60 | ```mermaid |
45 | 61 | flowchart TD |
46 | | -accTitle: O2O-enabled traffic flow diagram |
| 62 | +accTitle: Your zone using a SaaS provider, but without O2O |
47 | 63 |
|
48 | 64 | A[Website visitor] |
49 | 65 |
|
50 | 66 | subgraph Cloudflare |
51 | | - B[Customer-owned zone] |
52 | | - C[SaaS Provider-owned zone] |
| 67 | + B[SaaS Provider-owned zone] |
53 | 68 | end |
54 | 69 |
|
55 | | -D[SaaS Provider Origin] |
| 70 | +C[SaaS Provider Origin] |
56 | 71 |
|
57 | 72 | A --> B |
58 | 73 | B --> C |
59 | | -C --> D |
60 | 74 | ``` |
0 commit comments