Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

Getting 403 Forbidden for github user page which uses React

I have created an application using create-react-app. Then I executed `npm run build` based on the instructions but it creats the build in a branch called gh-pages. But since github user page build from master I moved the contents of gh-pages to master here - https://github.com/Nivedita123/Nivedita123.github.io

 

I also added the CNAME but I am no longer able to access my page. I moved the react source code to a different branch called source - https://github.com/Nivedita123/Nivedita123.github.io/tree/source

 

My URL (not working) is - http://gautamnivedita.com/ or http://Nivedita123.github.io/

 

My DNS is working fine as I check on https://dnschecker.org

 

I feel like I am missing something trivial.

1 Reply
Community Manager
Message 2 of 2

Re: Getting 403 Forbidden for github user page which uses React

You can reach your website via the lowercase version of the URL: https://nivedita123.github.io. It's generally considered a best practice to use all lowercase in URLs, so we convert it for you. If your DNS is pointing to the uppercase version, you may want to change it so that it points to the correct URL.

 

Let us know if you have more questions.