TLDR: I am super new to front end dev and have just published my first website (yay!). The trouble is that when you type www at the beginning of the url, the website is not loaded (IP address cannot be found).
The whole story: The website - without the www subdomain (i.e.: example.com) loads just fine, but www.example.com gives me server IP cannot be found.
What I have set up: Over on google domains, I have a "www CNAME username.github.io/respositoryname." set up. And on my github repository, I have a CNAME set up. Right now the CNAME file has only example.com listed. I have also edited and tested it with these options:
All three ways have not been successful.
Setting up all of this is all very new to me, and I've googled exhaustively last night and today. Everything I read says that one of these three ways to write my CNAME should have worked. I'm at a deadend now, any suggestions or further reading would be very welcome!! Thank you!!
Did you find this article helpful?