When you type google.com into your browser, the domain is split into parts by the “dot”, from right to left. The first part is “com”, so your computer checks the root zone file to see which registry manages the .com TLD. It then checks with this registry to see where the next part, “google”, points to. The registry returns the IP address, and your computer can then ask Google to send their homepage over.

The hierarchy of domains descends from the right to the left label in the name; each label to the left specifies a subdivision, or subdomain of the domain to the right. For example: the label example specifies a node example.com as a subdomain of the com domain, and www is a label to create www.example.com, a subdomain of example.com. Each label may contain from 1 to 63 octets. The empty label is reserved for the root node and when fully qualified is expressed as the empty label terminated by a dot. The full domain name may not exceed a total length of 253 ASCII characters in its textual representation.[6] Thus, when using a single character per label, the limit is 127 levels: 127 characters plus 126 dots have a total length of 253. In practice, some domain registries may have shorter limits.

If you're having trouble finding a domain name (whether because of crowding or cyber-squatters), check for a help facility on each registrar's site. Domain registrars typically house search engines that return a listing of available names similar to the one you want. When you search for a domain name at Namecheap, for example, you get both the status of that name and a list of suffixes available for that name. Maybe [Sitename].com isn't available, but [Sitename].biz or .org is.
If you already have a web host, obtain from them the names of their primary and secondary nameservers. Don't worry if you don't understand what these things mean. Just save the information somewhere. The information can usually be obtained from their FAQs or other documentation on their site, usually under a category like "domain name" or "DNS" or "domain name transfer" and the like. If you can't find it, email them. You'll need the information to point your domain name to your website after you buy your domain. Having said that, if you don't have a web host yet, don't worry. Just read on.

Domain names are organized in subordinate levels (subdomains) of the DNS root domain, which is nameless. The first-level set of domain names are the top-level domains (TLDs), including the generic top-level domains (gTLDs), such as the prominent domains com, info, net, edu, and org, and the country code top-level domains (ccTLDs). Below these top-level domains in the DNS hierarchy are the second-level and third-level domain names that are typically open for reservation by end-users who wish to connect local area networks to the Internet, create other publicly accessible Internet resources or run web sites.
Next, someone has to tell the rest of the Internet that google.com points to This is done by a “registry”, which is also the wholeseller that provides domains to registrars. Each top-level domain (TLD) — .com, .net., .org etc — has a registry that manages it. The .com TLD has been managed by the same registry since the beginning of time — an extremely profitable monopoly called Verisign. More on that later.
Domain name registrars, in case you didn't know, are the companies that manage all the website domain names you'll see (EG: Inc.com) - the fingerprint of your business, which may also include the hosting and privacy measures. For example, by default many companies will actually over-price the simple process of keeping your registration information private (which if it isn't can be found via a simple Whois search).
Domain names can be used in a number of ways. Direct visitors to your website’s home page or use complementary domains to send them to specific areas of your website ( e.g. yourcompany.jobs for a careers page). Or, forward a custom domain to an existing social media account, like your Twitter profile or Periscope channel. With a domain name you can even set up custom email addresses like yourname@yoursite.social, which can be used to conduct business or communicate with your followers. More.