Skip to main content

Introduction

Configure your own custom domain on Shard Cloud to give your application a professional appearance. We recommend using Cloudflare as your DNS provider for the best compatibility.

Registering a Domain

To use a custom domain, you must own a domain registered through a trusted registrar like:
  • Cloudflare Registrar
  • Namecheap
  • GoDaddy
  • Google Domains
  • Any other accredited registrar

Setting Up DNS with Cloudflare

We recommend using Cloudflare for DNS management due to its reliability and features.
1

Add Site to Cloudflare

Go to Cloudflare, navigate to Sites, and click “Add a site”.
2

Configure Nameservers

After adding your domain, Cloudflare will provide nameservers. Update your domain registrar’s nameserver settings to use Cloudflare’s nameservers.
3

Wait for Propagation

DNS changes can take up to 24-48 hours to propagate, though it’s usually much faster.

Configuring Your Domain on Shard Cloud

1

Access Application Settings

Go to Shard Cloud Dashboard, select your application, and go to Settings.
2

Add Custom Domain

Find the custom domain section and enter your domain (e.g., example.com or app.example.com).
3

Save Configuration

Save your changes. Shard Cloud will provide you with DNS records to configure.

Configuring DNS Records

In Cloudflare, add the following DNS records:

CNAME Record

TypeNameTarget
CNAME@ or subdomaincname.shardweb.app

TXT Record (Verification)

TypeNameValue
TXT@ or subdomain(provided by Shard Cloud)
If using a subdomain like app.example.com, use app as the name instead of @.

Redirecting www to Your Domain

To redirect www.example.com to example.com:
1

Create A Record

Add an A record with: - Name: www - IP: 192.0.2.1 (Cloudflare’s placeholder IP)
2

Create Page Rule

In Cloudflare, go to RulesPage Rules and create: - URL: www.example.com/* - Setting: Forwarding URL (301 - Permanent Redirect)
  • Destination: https://example.com/$1

SSL/HTTPS

Shard Cloud automatically provisions SSL certificates for your custom domain. HTTPS will be available shortly after DNS verification.

Troubleshooting

  • Clear your browser cache - Wait 60 seconds and try again - Verify DNS records are correct in Cloudflare
Your domain is not configured correctly. Double-check that: - CNAME record points to cname.shardweb.app - TXT record for verification is added - DNS has propagated (use dnschecker.org)
Wait up to 24 hours for SSL certificate provisioning. If issues persist, contact support.

Need Help?

If you continue having problems, contact our support team.