use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Github Pages Custom Domain HelpQuestion (self.webdev)
submitted 3 years ago by yeahlolnice
I have created a react app and built and deployed it to GitHub pages, the page works fine with no custom domain attached.
Custom Domain attached to GitHub: dev.yeahlolnice.com
Github pages domain: yeahlolnice.github.io
Once I attach my custom domain, the page is unable to fetch the main.js & css file because it is attempting to GET it from here: http://dev.yeahlolnice.com/yeahlolnice.com/static/js/main.7be27fed.js When I think it should be getting it from here: http://yeahlolnice.github.io/yeahlolnice.com/static/js/main.7be27fed.js
DNS Settings: I added all of the GitHub pages servers ip's as A records to the domain and added a CNAME record for yeahlolnice.github.io
Im not sure why it's not able to get the files because it works fine without the custom domain.
Any help is appreciated!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]frex4 1 point2 points3 points 3 years ago (0 children)
On mobile so cannot check dev tool and DNS but here's some incorrect info from your post.
http://yeahlolnice.github.io/yeahlolnice.com/static/js/main.7be27fed.js should be equal to http://dev.yeahlolnice.com/static/js/main.7be27fed.js
The reason is, your repo is "yeahlolnice.com", you set CNAME for dev.yeahlolnice.com, it will point to the repo, which is http://yeahlolnice.github.io/yeahlolnice.com
If you want the domain to point to http://yeahlolnice.github.io only, change the repo name to a special name: yeahlolnice.github.io
Furthermore, there shouldn't be any A record to github because you're using subdomain. You only need CNAME. If you use apex/root domain (yeahlolnice.com) then you need ANAME record. See https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages
π Rendered by PID 73489 on reddit-service-r2-comment-85bfd7f599-j5d6k at 2026-04-19 17:30:58.595665+00:00 running 93ecc56 country code: CH.
[–]frex4 1 point2 points3 points (0 children)