Let's lift the hood and check out the engine that makes the World Wide Web run.
(via https://betterexplained.com/)
HTTP is a protocol that allows clients to communicate with web servers, and is a primary underlying infrastructure of the Internet. The two most common HTTP methods are:
GET
POST
When a URL is inputted, the browser sends a GET
request to a web server. When a form is submitted on a website, a POST
request is submitted, and the browser hands off the form data to be handled by the web server.
(There are several more HTTP Methods but GET and POST are used for 99.99%+ of Web traffic.)
Remember, websites live at an IP Address. This is a string of numbers, (ex. 70.42.251.42) that locates a specific computer (or "host") on the Internet. A domain name is simply a translation that provides humans with an easy way to remember where a website lives.
Your nameservers may also contain other information about your domain, such as where your email server lives. For example, if I try to send an email to [email protected], your email server is going to communicate with the nameserver for facebook.com
and say, "Where does this email server live?".
/