My personal website was working fine... until I made some updates in VScode and pushed it. After that, I got a 404 error when I tried to access my website. After I got back from work, hours later, the error was still there -- my website was down. So I went to my github repo -- the one that consists of my personal website -- and I went to settings > pages. Curiously, I discovered that the field under 'custom domain' was blank! This was strange, because I was certain that I had already entered in my custom domain (www.richard-ng.com). Anyway, it wasn't there now..only a blank field. So, I entered my domain and pressed save. A minute or so later, I tested my website -- the 404 error was gone, and my site was back!
In the pages section, github still complains that my site is improperly configured...but it works fine! It is something to worry about?
Thanks for reading! Let me know if this helped you.