HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 19. FIRST WEBSITE 203


like .us and .tk. Several industries have their own TLDs.


http://en.wikipedia.org/wiki/Top-level_domainhas more.


Exam Question 337(p.356): What does TLD stand for?
Acceptable Answer:top level domain


eTLD or Public Suffix


Normally people register a domain name directly under a TLD, like .com or
.org or .edu or .us. But there are other options.


An example is.co.uk, which is the UK version of .com.


This is called anEffective Top Level Domain (eTLD), or aPublic
Suffix. A public suffix is anything under which you can directly register a
domain name.


http://en.wikipedia.org/wiki/Public_Suffix_Listhas more.


19.3.2 Sub-domains Are Free


With your domain name established, you can create your own sub-domains.
For example, I have:


http://doncolton.com- my main domain and personal homepage, for
which I pay a yearly rental fee.


http://byuh.doncolton.com - my campus homepage. The subdomain
costs me nothing.


http://hangman.doncolton.com- a hangman puzzle solver. The subdo-
main costs me nothing.


http://quizgen.doncolton.com- a quiz generator. The subdomain costs
me nothing.


http://iwdd.doncolton.com- homepage for this book. The subdomain
costs me nothing.


The sub-domain name goes in front of your domain name. There is a dot
that goes between them.


Sub-domains are typically free (depending on your webhosting provider),
and you can name them whatever you want, including something deceptive,

Free download pdf