1 html (set up public folder) some material on these slides is taken directly from

9
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from http://www.w3schools.com

Upload: chad-rogers

Post on 11-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

1

HTML (Set Up Public Folder)

Some material on these slides is taken directly from http://www.w3schools.com

Page 2: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

2ADMN410: Management Information Systems

Uniform Resource Locator (URL)

http://pubpages.unh.edu/~jsx33/index.html

Hypertext Transport Protocol

(http), the message format computers use to

exchange information on the

internet

This is the server name. It will be

converted to an IP address by the Domain Name Server (DNS)

tilde(~)jsx33 indicates jsx33's personal directory on the pubpages server

Index.html is the filename and

extension

Page 3: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

3ADMN410: Management Information Systems

Question

What would the URL look like if we had the folder named “New” and a file called find.html on jsx33’s pubpage.

http://pubpages.unh.edu/~jsx33/New/find.html Note: case sensitive

Page 4: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

4ADMN410: Management Information Systems

Connecting to a website

What is the IP address for

Google.com

DNS

Client

Server

216.239.39.99 GET request:

Can you send me the page index.html?

Here is the index.html

page

Default for http: Port 80

Index.html

Browser then reads & formats html then

displays formatted html

Page 5: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

5ADMN410: Management Information Systems

Setting up your public folder

Page 6: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

6ADMN410: Management Information Systems

Setting up your public folder

Page 7: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

7ADMN410: Management Information Systems

Setting up your public folder

mkdir $HOME/public_html chmod 711 $HOME chmod 755 $HOME/public_html exit

Page 8: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

8ADMN410: Management Information Systems

Placing your files on pubpages

Open IE 7 Type in: ftp://[email protected]/ in the address bar Click the 'Page' menu button on the right-hand side of the IE 7

browser window and select the option, "Open FTP Site in Windows Explorer"

Type in: ftp://[email protected]/ in the address bar Enter your username and password

Page 9: 1 HTML (Set Up Public Folder) Some material on these slides is taken directly from

9ADMN410: Management Information Systems

Placing your files on pubpages

To view: http://pubpages.unh.edu/~jsx33/index.html

You will place all the files you create

inside this folder