CNAME value containing domain produces error

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.

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.

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

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

TIL. Thanks :slight_smile:

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

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