COMPSCI 120 Lecture Notes - Lecture 1: Top-Level Domain, Classless Inter-Domain Routing, Uniform Resource Locator
Document Summary
Url: uniform resource locator, a web address http://people. cs. umass. edu/~verts/cmpsci120/cmpsci120. html. Protocol host name username folder - resource. Protocol: can also ha(cid:448)e https://, (cid:373)ea(cid:374)i(cid:374)g (cid:862)se(cid:272)ure(cid:863) Host name: reads right to left, starting with top level country code (if there is one) and gets narrowed down as you read: most sites ha(cid:448)e (cid:449)(cid:449)(cid:449) rather tha(cid:374) (cid:862)people(cid:863) Includes . com, . net, . org, . gov, etc: can also be country codes at the end like . uk or . us. Username: if includes a tilde, ~, that indicates a username. Verts multiple folders under this user, including public. html. Public. html (everything within appears on the web) has multiple folders within it. Each of those folders has more folders within them. Index. html: default file(cid:374)a(cid:373)e; if (cid:455)ou do(cid:374)"t spe(cid:272)if(cid:455) the (cid:374)a(cid:373)e of the resour(cid:272)e: can have as many as you want, as long as they are in different folders only one per folder.