---
# System prepended metadata

title: Domain Redirection using Cloudflare
tags: [For Prue]

---

---
tags: 'For Prue'
---

# Domain Redirection using Cloudflare

Add Domain to Cloudflare
-----------------------------------

1. Sign up for Cloudflare. This is the same as signing up for anything else.
2. Once logged in to Cloudflare's dashboard, click `Add site`.
3. Enter the websites domain -- ie. `cobodo.com.au` and then click `Add Site`.
4. You'll be prompted to choose a plan. The free one is fine.
5. Cloudflare will scan the DNS records and import them. It will probably mostly be Wix's but since you're moving off Wix, you can probably ignore it.
6. Click `Continue`.
7. Cloudflare will next give us some nameservers. Copy these down.
8. You need to log in to Crazy Domains (or your other domain registrer) and set the nameservers to those provided by Cloudflare.

Setting up the redirect
------------------------------------
10. Next, we need to go to Cloudflare's DNS page for your domain and make sure the Cloudflare proxy is toggled on for the `cobodo.com.au` A and `www` CNAME records. It will be orange like in the screenshot below (except your domain).
![](https://i.imgur.com/C4zg77M.png)
12. In the side bar, select `Page rules`.
13. Click `Create Page Rule`
![](https://i.imgur.com/Hw1j6j2.png)
15. For the URL, enter `cobodo.com.au`.
![](https://i.imgur.com/LXkRNbI.png)
15. Under settings, select `Forwarding URL`.
16. Set the status code to `302` unless you never intend to change this again, in which case use `301`.
17. Set the `Destination URL` to your intended location (ie. Linkedin page). You need to include the `https://` bit.
18. Finally, click `Save and Deploy Page Rule`.
19. Repeat the previous steps from step 12 with the only difference being the URL, we want to add a variant with www., and another variant with `cobodo.com.au/*`. Leave the other settings - status code and destination, the same.

Note, DNS changes can take up 24-48 hours to complete.