So, in an effort to fill in some holes of understanding I have more completely in how things on the Internet work, I have a bit of a question about DNS and name servers in general.
I think I understand the basics of DNS. You type a URL, the URL (assuming it’s not cached) goes to a root name server, which send back info to send it to a top-level domain name server, which then sends back info to send it to an authoritative (or whatever it’s called) name server, which then sends back the IP address.
OK, so now I have a URL connected with an IP address. So what happens after that, especially in the case of websites that are on shared server space? If I look up my IP address for my website, I can’t just type in http://123.45.6.7 and have my page displayed. What is happening at this level of communication. I assume the computer is directed to 123.45.6.7 and then perhaps the URL I typed in is passed along to the server at 123.45.6.7 and that doles out the correct page? Is that’s what’s going on? Or is there an extra layer of name servers on that site (like what I assume ns1.mywebsite.com and ns2.mywebsite.com) which directs my request to the correct directory on the server at that IP address?
I know this question isn’t completely focused, so I may be asking or assuming something completely stupid along the way, but I’m sure there’s people here who can clearly explain what’s going on once the computer get the info that equates www.mywebsite.com with 123.45.6.7.