Gridea Docs

Gridea Docs

Custom domain

Your site is deployed on the subdomain of `ongridea.com`. But you can connect your own domain to your site.

Learn how to connect your own domain to your site.

Step 1: Set your DNS Settings

You can map your domain to Gridea by adding the following DNS records to your domain provider.

Root domain records

For a root domain like `fehey.com` add this record:

Record type | Host record/name | Record value/content --- A @ 76.76.21.21

Subdomain records

For a subdomain like `blog.fehey.com` add this record:

Record type | Host record/name | Record value/content --- CNAME @ cname.ongridea.com

Note: It may take up to 24 hours for the changes to take effect.

How to update your DNS records for these providers.

  • Using NameSilo?

    1. Go to https://www.namesilo.com/account_domain_manage_dns.php

    2. If you use root domain, set a A record.

    3. If you use subdomain, set a CNAME record.

  • Using Cloudflare?

    • If you are using Cloudflare, please set the proxy status to DNS only.

    • Meet err_too_many_redirects ? Because your Cloudflare SSL/TLS configuration is set to 'Flexible', just need change to 'Full' is work fine.

  • Have you used another Vercel account before?

    If you've ever mapped your domain to Vercel or any service that uses Vercel for domain hosting, once you add the domain in Gridea by Step 2, you'll be instructed to bind an additional TXT record. Just follow the instructions to do so.

Step 2: Add your own domain to your site

Click Website → Setting → Hosting settings to add your domain.