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

FluxONE AI Art Competition: Enter Now to Win 500 $FLUX!

Ignite Your Imagination with AI! We are thrilled to announce...

The Rise of AI Avatars: The Future of Digital Interaction Is Here

Imagine interacting with a virtual assistant that not only...

The Shift to Tokenized Real Estate Investing

The real estate investment world is changing fast. Thanks...

The Future of AI in Software Development: Writing Code and Reshaping the Role of Developers

Artificial intelligence (AI) is rapidly transforming industries, and software...

The Beginning of Acceleration in Human Sciences: Life-Changing Times

We are witnessing an extraordinary moment in human sciences....

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

Topics

FluxONE AI Art Competition: Enter Now to Win 500 $FLUX!

Ignite Your Imagination with AI! We are thrilled to announce...

The Rise of AI Avatars: The Future of Digital Interaction Is Here

Imagine interacting with a virtual assistant that not only...

The Shift to Tokenized Real Estate Investing

The real estate investment world is changing fast. Thanks...

The Future of AI in Software Development: Writing Code and Reshaping the Role of Developers

Artificial intelligence (AI) is rapidly transforming industries, and software...

The Beginning of Acceleration in Human Sciences: Life-Changing Times

We are witnessing an extraordinary moment in human sciences....

The Future is FluxAI

InFlux Technologies (Flux), a global leader in decentralized cloud...

Which Candidate Is Better for Web 3.0 and Blockchain โ€“ Trump or Harris

The 2024 Presidential election of the United States is...

AI Automation Hubs: The Future of Effortless Living

Imagine waking up each morning with your daily tasks,...

Related Articles