> For the complete documentation index, see [llms.txt](https://help.fungies.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.fungies.io/store-settings/set-up-custom-domain/migrating-your-domain-to-cloudflare.md).

# Migrating your domain to Cloudflare

In order to use Custom Domain (with root domain like e.g. domain.com, yoursite.com, saasstartup.io etc.) you will have to move your entire DNS settings to Cloudfare.

1. First, set up an account with [Cloudflare](https://dash.cloudflare.com/sign-up):

<figure><img src="/files/RxOLOZ1oDGysi9hpxAM1" alt=""><figcaption><p>Sign up with Cloudflare</p></figcaption></figure>

2. Navigate to Websites and then Add Domain

<figure><img src="/files/M9GawdEYqfEm32sOaSL2" alt=""><figcaption><p>Add or migrate your domain to Cloudflare</p></figcaption></figure>

3. Type or paste your root domain here (like e.g. mystartup.com or mywebsite.io)

<figure><img src="/files/EQazHNnShVhMMyl2h1kI" alt=""><figcaption><p>Type or paste your root domain for Cloudflare to automatically detect DNS settings</p></figcaption></figure>

4. Select a FREE plan when prompted

<figure><img src="/files/OEa6LgH3tR2xEDQdNiQ1" alt=""><figcaption><p>Choose FREE Plan for DDOS protection</p></figcaption></figure>

5. Continue set up after automatic DNS settings detection by Cloudflare

<figure><img src="/files/i3WzDTk6wp6R1ZcSXKKg" alt=""><figcaption><p>Copy both these nameservers to your domain registrar (like GoDaddy.com)</p></figcaption></figure>

Copy these 2 nameservers to your domain registrar - you must REMOVE any other nameserver (NS) settings and just leave these 2 from Cloudfare

6. You will now see pending nameserver updates in the list of your websites

<figure><img src="/files/953lXnFBUzZH0NujbPXd" alt=""><figcaption><p>Now you need to paste the nameservers in your registrar domain settings</p></figcaption></figure>

6. Add both Nameservers provided by Cloudflare above

<figure><img src="/files/0BAUteqEWX8R71YN4AC9" alt=""><figcaption><p>Change the nameservers provided by CloudFlare</p></figcaption></figure>

7. Now you should wait for Cloudflare to propagate DNS settings for your domain:

<figure><img src="/files/OdR7liEhsXFMA82UytZO" alt=""><figcaption><p>Wait up to 24h for Cloudflare to propagate DNS settings for your Root domain</p></figcaption></figure>

8. Go back to Fungies.io Dashboard under Settings -> Domain

<figure><img src="/files/EK6sQMAs0keSN86x6vCu" alt=""><figcaption><p>Copy and paste these DNS settings to your CloudFlare DNS settings</p></figcaption></figure>

9. Copy Fungies DNS settings to your CloudFlare DNS settings

<figure><img src="/files/OBcVDfJCzhRQENDeslVE" alt=""><figcaption><p>Finish up by pasting DNS records from Fungies.io Dashboard to CloudFlare DNS settings for the domain</p></figcaption></figure>
