---
title: "Discussion on \"DNS Config for Github Custom Domain\" | Hashnode"
description: "Discussion on \"DNS Config for Github Custom Domain\". how to configure your custom domain in GitHub using tech domain"
url: "https://hashnode.com/posts/dns-config-for-github-custom-domain/608d079adc886b4318004fcb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [DNS Config for Github Custom Domain](https://blog.varunjoshi.co.in/dns-config-for-github-custom-domain?utm_source=hashnode&utm_medium=feed)

how to configure your custom domain in GitHub using tech domain

May 1, 2021 · 4 min read · blog.varunjoshi.co.in  
Read the article

-   [#dns](https://hashnode.com/tag/dns)
-   [#github](https://hashnode.com/tag/github)
-   [#web-hosting](https://hashnode.com/tag/web-hosting)

## Written by

[Varun Joshi](https://hashnode.com/@codebrewer)

@codebrewer · Bangalore, Karnataka

  
[View profile](https://hashnode.com/@codebrewer)

Vision Without Execution Is Just Hallucination

🚀 Software Engineer at TechM | Ex Merkle | Design Enthusiast 🎨 | Graduate of KLS Gogte Institute of Technology 🎓 | Connector of People &amp; Ideas 💡 | | React.js Aficionado | Eager Learner &amp; Growth Advocate 🌱

## Responses 1

Markdown supported · ⌘↵ to post

[Dids Irwyn Reyes](https://hashnode.com/@dids)

[Jul 4, 2022](https://hashnode.com/posts/dns-config-for-github-custom-domain/608d079adc886b4318004fcb/comment/62c25f3accecfb25bbc77086)

Thanks for this! but I'm having a problem adding CNAME it shows an exception.

```
Error Message: A record Exists having same name. Please Check For Record Conflicts.
```

I can't leave the CNAME's Host Name as blank.

If I added an A Record do I still need to add a CNAME cause you've indicated it as Ways and not Steps so is it not required to add CNAME?

And what do you mean in 1. A Records, after ● click on add record

```
● add value as @
```

do I need to put @ as Host Name when adding GitHub's provided IP address?

[Varun Joshi](https://hashnode.com/@codebrewer)

[Jan 19, 2023](https://hashnode.com/posts/dns-config-for-github-custom-domain/608d079adc886b4318004fcb/comment/62c25f3accecfb25bbc77086#reply-63c94826f33a078eb1c8f050)

you will either need to configure the CNAME or A record.
