CNAME value containing domain produces error


#1

Hi guys,

I have just purchased the domain nigerianhotmail.live. Long story behind the why.

I wish to use it with a GitHub pages site and so am setting up the CNAME records for root and www on the domain.

However, when I go to add either I get the following error with the CNAME value as mattipv4.github.io/nigerianhotmail.live: “Invalid hostname: Use ‘@’ to represent the root domain”

Why would I want to use @ in the custom value of the CNAME??

Regards,
Matt.


#2

I presume that is a screenshot from your control panel for that .live domain. In this case you only enter the target host (the Github one) in that field. No slash.


#3

According to GitHub, the CNAME should include the slash to end up at the correct repository?


#4

That would be a for a redirect. A CNAME is a DNS entry pointing to a host, not a URL.


#5

TIL. Thanks :slight_smile:

The error CF gives me was not exactly helpful I must say…


closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.