r/Web_Development • u/IamMrMyers • Jun 23 '20
coding query Problem trying to setup GoDaddy domain with GitHub Pages
Hello developers,
I really hope someone can help me with this since I've been struggling for days without luck.
I'm kind of new to web development and I've been doing tutorials. I already created my portfolio website and I hosted it on GitHub pages. I liked it and I decided to give it a custom domain name and be a cool web developer :P. I bought my domain through GoDaddy.com and I couldn't be able to correctly point it to my website hosted on GitHub Pages.
I tried different tutorials, these include this, this, this and this. None of them works for me. I'm not sure what I'm doing wrong or if there is something outdated in those tutorials but this is getting maddening lol.
To sum up,
- I go to DNS management of my domain at GoDaddy.com.
- Changed in the records tab all the A-type to the GitHub IP values (185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153) and the CNAME type to my github.io website value.
- Added CNAME file to my repository
- Added my custom domain in portfolio>settings>github pages
Not sure where is my error and if someone can help me with this I will really appreciate it. If you need more details let me know.
Thank you in advance!
6
u/aknosis Jun 23 '20
I'd recommend using Netlify for free hosting / auto deploying your site. Netlify does not have the time limit issues that Heroku does.
For common static site builders Netlify will auto detect your builder and deploy without 0 config.
https://www.netlify.com/
I use Netlify for personal stuff (free) with no issues.
3
u/warrior242 Jun 23 '20
Here's a huge tip. Use anything other than go daddy. Host gator and bluehost are popular. Save yourself the headach of go daddy
2
u/guilhermebueno6 Jun 23 '20
Try putting it up on Heroku and then pointing to your domain, it's way easier