19
Web hosting & domain names

Uniform Resource Identifier (URI) Uniform Resource Locator (URL) Uniform Resource Name (URN) URL includes

Embed Size (px)

Citation preview

Page 1: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Web hosting & domain names

Page 2: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Uniform Resource Identifier (URI) Uniform Resource Locator (URL) Uniform Resource Name (URN)

URI vs. URL vs. URN

http://danielmiessler.com/study/url_vs_uri/

URL includes the Name of the resource AND how to access it

All URLs are URIs but not vice versa

Page 3: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

www.bbc.co.uk is NOT a URL◦ No resource name◦ No access mechanism

http://www.midfest.org.uk/livestage.html

The above example IS a URL because it includes:◦ Resource name livestage.html◦ Access method http://www.midfest.org.uk

http://tools.ietf.org/html/rfc3986 is the URL for RFC3986 which explains URIs in great detail!

So...

Page 4: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

TLD = Top Level Domain e.g.◦ .com◦ .net◦ .uk◦ .fr

IANA (Internet Assigned Numbers Authority) runs the ◦ TLD database◦ DNS Root Zone

IANA delegates domain registration

TLDs / DNS / IANA

Country-code TLDs (ccTLDs) e.g. .uk, .fr, .ca, .de, itGeneric TLDs (gTLDs) e.g. .com, .edu, .net

Page 5: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

All devices (hosts) on the Internet have an IP address

e.g. the IP address for the BBC website is212.58.246.93

Domain Name System (DNS)

Page 6: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Humans can’t remember numbers well Domain Name System allows us to use

alpha-numeric domain names Part of basic PC configuration is to specify IP

address of 1 or more DNS servers Normally provided by your ISP but you can

use others e.g. ◦ OpenDNS (208.67.222.222 and 208.67.220.220)◦ Google (8.8.8.8 and 8.8.4.4)

Domain Name System (DNS)

Page 7: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

How DNS works

If a domain name is not held in the local cache, the query will be passed along to the next level potentially right up to the Root Servers

This happens for every internet resource you try to access.

Page 8: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

DNS Root Servers

http://www.iana.org/domains/root/servers

Each of these named authorities is actually a network of many servers

Page 9: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Private, public purpose company◦ Has members rather than shareholders◦ £400 joining fee plus £100 p.a. Subscription

Run the .uk TLD since 1996 Will run .wales and .cymru from 2015 Other .brands e.g. .bbc from 20?? Other services include Dispute Resolution

and WHOIS Nominet delegates most domain

registrations

Nominet

http://www.nominet.org.uk/whoweare/whatwedo

Page 10: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Domainregistration/hosting

Websitehosting

Domain name / website hosting

Page 11: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Domain AND web hosting

Page 12: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Web hosting ONLY

Page 13: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Virtually any hosting package (even domain only) will include email forwarding to avoid this situation…

Company has a domain namehttp://www.24hrbreakdownandrecoveryservices.co.uk/

BUT gives [email protected] the email address

Email addresses / forwarding

Page 14: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Choose a Linux Hosting account if you're going to use PHP, Ruby, Perl, Python, or CGI scripting. Our Linux accounts use a MySQL database.

Choose a Windows Hosting account if you're going to use ASP, ASP.NET, or ASP.NET 2.0. Our Windows hosting customers typically use a SQL Server (MS SQL) or Access database.

Windows v. Linux

Source: http://support.godaddy.com/help/article/2520/should-i-choose-a-windows-or-linux-hosting-account

Page 15: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes
Page 16: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes
Page 17: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Depending on technologies used, you can carry out local testing

Websites go “live” when uploaded to a web server.

Often referred to as “publishing” the site Websites are generally uploaded using FTP Some web development tools include a

built-in FTP client

Uploading websites

Page 18: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Filezilla FTP client

Local files

Remote folders

Remote files

Commands window

Site Manager

Page 19: Uniform Resource Identifier (URI)  Uniform Resource Locator (URL)  Uniform Resource Name (URN)  URL includes

Generally website files & folders are uploaded to public_html (or similar)

Need a default file e.g. index.html Use lower-case for file and folder names

◦ Easier then remembering when you used upper-case

Don’t use spaces in file names◦ Otherwise they show up as %20 in the URL

Folder structures / file names