This is all the background information you need on how the web works before you get started learning to code. How the web works, the infrastructure of the Internet, and many other key concepts are covered in these tutorials.
Start learning with
How the DNS work, and why it is important. (www.youtube.com)
How the Internet Works in 5 Minutes (www.youtube.com)
20 Things I Learned (www.20thingsilearned.com)
An Overview of the Web (marksheet.io)