Top Banner
Lesson 4: A Trip to Webville Web Hosts, FTP, Absolute Paths
10

Hosting ftp

Nov 29, 2014

Download

Education

ldehn

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Hosting ftp

Lesson 4: A Trip to WebvilleWeb Hosts, FTP, Absolute Paths

Page 2: Hosting ftp

Going Live on the Web In order for the world to see your website, it has to

be placed on a web server.

Uber-geeks set up their own servers using dedicated computers that stay online 24/7.

Most individuals and small companies utilize hosting services, sharing a server with many other domains.

Large companies have their own dedicated servers and IT teams to manage these servers.

Page 3: Hosting ftp

Domain Names and Subdomains Besides having a web server, sites

also need domain names or subdomain directories.

Domain names are unique names for websites and have to be purchased: www.amazon.com, www.whitehouse.gov, www.saugatuckps.com.

Subdomains are less expensive: shsweb.weebly.com, www.accn.org/~alleganhs.org

Page 4: Hosting ftp

Choosing a Web Host

Page 5: Hosting ftp

Transferring Your Files to the Host Server

One common method of transferring files is to use an FTP application

FTP=File Transfer Protocol

Page 6: Hosting ftp

Anatomy of a Web Address

http://www.starbuzzcoffee.com/index.html

http:// = HyperText Transfer Protocol a protocol is an agreed-upon method for transferring information from one computer to another, in this case, hypertext

www.starbuzzcoffee.com = website name (domain name)

/index.html = the slash takes us to the root folder where the default home page “index.html” is located. (index.html, home.html, default.html)

Page 7: Hosting ftp

Absolute Paths An absolute path tells a

server how to get from your root folder to a particular page or file.

http://www.earlsautos.com/cars/new/inventory.html

Page 8: Hosting ftp

Lesson 4: HyperlinkingLinking to other websites:

<a href=“http://buzz.headfirstlabs.com”>Caffeine Buzz</a>

Adding title attributes to links

<a href=“http://buzz.headfirstlabs.com” title=“Read all about caffeine on the Buzz”>Caffeine Buzz</a>

Page 9: Hosting ftp

Lesson 4: HyperlinkingAdding a destination anchor

<h2><a id=“chai”>Chai Tea, $1.85</a>

Linking to a destination anchor

<a href=“index.html#chai”>See Chai Tea</a>

Page 10: Hosting ftp

Lesson 4: HyperlinkingOpening a linked website in a new window using the target

attribute

<a target=“_blank” href=“http://buzz.headfirstlabs.com”></a>