From the course: Computer Science Principles: The Internet

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Identifying a server with URLs

Identifying a server with URLs

From the course: Computer Science Principles: The Internet

Start my 1-month free trial

Identifying a server with URLs

- [Instructor] When you enter a URL into a web browser, the URL has three main parts to it. A top-level domain, the domain name, and the subdomain. A DNS server is able to resolve the words used to identify the host into the IP address for that specific server. For a company, you will typically have a single domain name, like dougwinnie.com, but you may have multiple subdomains. Subdomains can do a few things: One thing they can do is link to specific web servers. For instance, www.dougwinnie.com is pointing to a specific web server. That subdomain, www, defines a very specific IP address for that server. I can have multiple subdomains, like dev, prod, or beta. All of which are pointing to different IP addresses. Subdomains can also be very misleading. That's because the information that is stored about them in a DNS may redirect to completely different servers. In a DNS there are records, called A records and CNAME records. They store rules for how domains are translated to IP…

Contents