This course will be retired on March 24, 2020. We recommend "Introduction to HTML and CSS" for up-to-date content.
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Start a free Basic trial
to watch this video
A domain is part of the web address that site visitors can type into their browser to find your website. Choosing a short and memorable domain will make it easier for people to find your work on the web.
Vocabulary
- Protocol - A system of rules for the exchange of digital information. On the web, the Hyper Text Transfer Protocol (HTTP) allows for the exchange of websites.
- Subdomain - A smaller domain that is part of a larger domain. For example, "www" is a common subdomain.
- Domain - A unique identifying string that defines a realm of authority or control on the web.
- TLD - TLD stands for Top Level Domain and it is the highest level domain in the Domain Name System (DNS). This is the part of the domain such as .com, .net, and .org, that comes at the end.
Resources
-
0:00
[MUSIC]
-
0:04
Websites are driven by great content, but it's also important to pick out
-
0:08
a good domain name so that people can remember how to find your site.
-
0:13
A domain name is the web address you type in
-
0:16
when you want to visit a website, like facebook.com or google.com.
-
0:21
Every domain has to be unique and the domain you want
-
0:25
might not be available because it's already been purchased by someone else.
-
0:29
So you may have to get creative.
-
0:31
Let's break down each part of a web
-
0:33
address and then we'll learn how to purchase one.
-
0:37
I'm going to use the address example.com.
-
0:40
The first part http:// is what's called the protocol.
-
0:45
In this case we're using the HTTP protocol or the
-
0:49
hyper text transfer protocol because we're using the internet to look
-
0:54
at web pages.
-
0:55
If you're new to making web pages
-
0:57
you probably haven't seen too many other protocols.
-
1:00
Because in applications, such as multiplayer games
-
1:03
or streaming video chat, the protocol is
-
1:06
often hidden and it's a detail that most consumers don't ever have to worry about.
-
1:12
The next part of this domain, www, is called a subdomain.
-
1:17
In the early days of the web, it was popular
-
1:19
to add the subdomain, www or world wide web, but this actually isn't necessary.
-
1:26
Sometimes you may see other sub domains on websites which is one way of partitioning
-
1:32
separate major areas of your web presence
-
1:35
but that won't be necessary for this project.
-
1:38
The next part is the actually domain name this
-
1:41
should give people a very short expectation of what
-
1:44
they might find on your site.
-
1:46
Finally, domains end with what's called a top level domain or TLD.
-
1:52
In this case, the TLD is .com, but you're probably familiar with other TLDs like
-
1:57
.net, .org, and so on, .com is the most popular, but sometimes for
-
2:03
personal websites, people will use other TLDs like .me or .name.
-
2:08
For our purposes
-
2:09
there are no technical differences between these so while .com is
-
2:14
the most desirable any other tld will work fine as well.
-
2:18
Now, with the explanation out of the way let's purchase a domain to
-
2:23
purchase a domain you'll need to point your browser to a domain registrar.
-
2:28
The most popular registrar that most people have heard
-
2:31
of, is GoDaddy.com, but there are many other registrars
-
2:35
out there.
-
2:36
All of them will allow you to purchase domains, and maybe even purchase hosting.
-
2:41
So just go with the one that you feel most comfortable with.
-
2:45
I'm going to use one called namecheap.com.
-
2:49
I like this registrar because it's simple and it's easy to use.
-
2:53
First, you'll want to type in the name of a domain that you like.
-
2:58
I'm going to try my name first, nickpettit.com.
-
3:03
And you may want to go ahead and register your name.
-
3:07
So, I'm going to click search, And, as you can see, it is already taken.
-
3:13
It says, make an offer.
-
3:16
Now, I'm actually the person that owns this domain, but I wanted you
-
3:20
to see what it looks like if a domain has already been purchased.
-
3:24
If this is the case, you'll need to pick another domain name.
-
3:27
Most registrars
-
3:28
will give you the option to purchase a domain on back order.
-
3:32
Or make an offer.
-
3:34
But this is almost never a good idea, unless you're really desperate.
-
3:38
Because it's unlikely the current owner will give up their domain anytime soon.
-
3:43
Now I'm going to use the example domain, treehousewebsite.com.
-
3:51
And I'll click search,
-
3:54
and as you can see, it's available. I can purchase it for $10.69 per year.
-
4:01
So let's click through the process to purchase it.
-
4:05
I'll click, Add to cart, and then I'll click View cart.
-
4:11
And you can see that there's a couple of options here.
-
4:14
The first one is the domain registration treehousedomain.com
-
4:19
which, of course, we want to go ahead and keep that.
-
4:23
There's also this free WhoisGuard, that's basically Whois privacy.
-
4:29
Now Whois, is a public database that allows anyone
-
4:34
to look up information about a particular domain's owner.
-
4:39
We don't really need that in this case so
-
4:42
I'm going to remove it but if you would like
-
4:44
to purchase that you can go ahead and do so.
-
4:48
I have auto renew off but I actually wanna turn auto renew on.
-
4:53
That will make the domain renew automatically on an annual basis.
-
4:58
So I don't have to be reminded to pay this
-
5:00
annual fee it will just be taken from my credit card.
-
5:05
So, I can click confirm order and at this point
-
5:10
namecheap.com will ask you to either create an account or if you
-
5:15
have already created an account, you can go ahead and log in.
-
5:20
I have an account already, it's teamtreehouse.
-
5:23
I'll put in my password and then I'll go ahead and sign in.
-
5:28
Now at this point I'm ready to checkout so I'll just click the checkout button.
-
5:36
And here's my purchase summary.
-
5:39
I now own treehousewebsite.com and I can do whatever I'd like with it.
-
5:46
We're now the owners of our brand new domain name.
-
5:49
Next, we need to purchase a web host, upload our
-
5:52
files and then connect our domain to the web host.
-
5:56
That way when people type in our domain, they'll find our website.
-
5:59
If what I just said doesn't make any sense,
-
6:02
don't worry we'll walk through it step by step.
You need to sign up for Treehouse in order to download course files.
Sign up