Error on connecting to custom domain

Hi, this is my first time making a website and so I do not know what to do now that there is this error. I wanted to connect my godaddy domain greentree.group to my github page patrickhars.github.io/GREENTREE but it doesnt seem to be working. I have also set up the forwarding to https://patrickhars.github.io/GREENTREE but when I open greentree.group it redirects to 404 error while if I enter greentree.group/GREENTREE it works. Also, sometimes I get a privacy error for some reason.

Hi @patrickhars, welcome to the GitHub Support Community! It looks like you’ve got an extra A record pointing to 184.168.131.241 that may be interfering with routing to your domain. You’ll need to remove that record before your domain points completely towards GitHub.

If you’re not able to remove this from your DNS settings it may be added by your DNS provider automatically. You might need to turn off “domain parking”, forwarding, or another service they provide, or contact your DNS provider for help removing this.

Thank you for your reply @thomasshaped, when I deleted that IP, greentree.group is directed to patrickhars.github.io instead of patrickhars.github.io/GREENTREE. Is there a way so greentree.group can directly direct to the page I wanted?

Hmm, taking a look inside your repository it seems like your site is inside a directory called GREENTREE:

If you want your site to load directly at https://greentree.group/ then you’ll need to move your site’s content outside of this folder to the root of your repository. The best way to do this would be to clone your repository locally, move your files outside of this GREENTREE folder, and push the changes back to GitHub.

Thank you for the solution, never thought it would be so simple :sweat_smile:

1 Like