How to Set Up a Website on Flux – Point Your Custom Domain

Setting up your website on Flux involves configuring a custom domain and directing it to your Flux WordPress Website. Here, we’ll be using CloudFlare to accomplish this.

What is Flux and Why Use It?

Flux is a scalable and decentralized platform for dApps and Cloud Software like WordPress. It allows users to host their applications in a secure and distributed manner. To enhance user experience and ease of use, Flux allows you to point a custom domain to your Flux dApp using a Flux Domain Name (FDN) – yourdapp.app.runonflux.io.

Steps to Set Up a Website on Flux

The guide below provides you with the step-by-step instructions to point your custom domain to your Flux dApp via a FDN.

Configuring CloudFlare

CloudFlare will serve as a middleman between your domain name registrar (like godaddy.com) and the Flux network, securely directing traffic to your Flux dApp.

SSL Encryption Settings
  1. Create a CloudFlare Account
    • If you don’t have a CloudFlare account, create a free one here.
  2. Add Your Site to CloudFlare
    • Upon account creation, you’ll be prompted to ‘Add a Site’.
    • Enter your domain name and CloudFlare will automatically retrieve your DNS settings from your current host.
    • Make sure to double-check all DNS entries to ensure they have been correctly transferred.
  3. Update Your Domain Name Servers
    • After adding your site, CloudFlare will issue you new nameservers (e.g., nick.ns.cloudflare.com and tina.ns.cloudflare.com) to replace your existing ones (e.g., ns1.yourdomain.com).
  4. Wait for the DNS Update
    • This process can take from a few minutes up to a few hours. Once the settings have taken effect, your custom domain name will be processed through CloudFlare, directing it to your original host.
  5. Add a CNAME Record for the Flux Domain Name
    • The final step is to add a CNAME record in CloudFlare.
    • To do this, click on ‘DNS’, then ‘Add Record’, and complete the fields as follows:
      • Type: CNAME
      • Name: Your App Name (yourapp.yourdomain.com) or if you want to use the root domain name enter just ‘@’.
      • Target: Your Flux Domain Name
      • Proxy: Ensure this is checked

Confirm Your Configuration

Check your CloudFlare configuration to ensure it resembles the following:

  • yourdomain.com > CloudFlare > Godaddy (Existing Website)
  • yourapp.yourdomain.com > CloudFlare > Flux Website (yourdapp.app.runonflux.io)

In this example setup, the root domain is still hosted on another third-party server (like godaddy.com), and only the subdomain is directed to Flux.

Wrapping Up

Now, your custom domain should properly redirect to your Flux dApp. It may take some time for the changes to propagate throughout the internet. If you encounter any problems or need further assistance, please consult Flux or CloudFlare’s support documentation.

Following Guides In Production

  • How to Buy Flux to create your web 3 project
  • How to Transfer Your Website

Thanks for reading and if you enjoy my content please follow me on twitter.

Hot this week

00:07:11

How to configure A Flux Thunder Node

In this video, I go over how to convert...

Tokenized Real Estate Platforms – What do you need to know?

Tokenized real estate is a relatively new concept that...

Kadena – 2023 Road Map Moving to the Future

Kadena is looking strong with its technical Roadmap for...

New to Flux? Check out this video!

Sometimes videos can give more than a 1000 words,...

Blocksquare – Ecosystems Coming together for the future of Real Estate!

Blocksquare is a tokenization infrastructure for Real Estate and...

Stay Connected

Stay Connected

35,000FollowersFollow

Get the Latest Tech and Web3 Insights Delivered to Your Inbox!

More From Author

Ravencoin: Revolutionizing Real-World Asset Tokenization

In the dynamic world of blockchain technology, Ravencoin stands...

Effortless Access to Your FluxCore Machines: User Guide

Access your FluxCore machines anytime, anywhere with SSO (Single...

Trump Victory, Bitcoin ATHs: A Historic Day for Cryptocurrency Markets

In an unprecedented and eventful day for both global...

How Wokeness Can Stifle Open Dialogue: A Balancing Act for Society

In recent years, "wokeness" has led to a social...

Data: The Digital Era’s Oil Through DePINs

In the digital age, data is often compared to...

Meta’s Strategic Shift: Integrating Reuters Content into Meta AI

Meta has recently announced a groundbreaking partnership with Reuters,...

FluxAI: The One-Stop AI Solution Powered by FluxEdge

FluxAI offers a comprehensive platform that meets the growing...

The Layers of DePIN: Use Cases and a Suggested Future Classification

Decentralized Physical Infrastructure Networks (DePIN) are reshaping how we...

Related Articles

Popular Categories