Managing Your Website - University of Scranton

Download Report

Transcript Managing Your Website - University of Scranton

Managing Your Website
C/IL 102
Managing Your Website
 Where are things?
 Building your website (on your PC)
 You can see it
 You can edit it
 No one else can see it
 Publishing your pages
 Moving your pages from your pc to a file system
that is accessed by a publicly available webserver.
On your PC
 Designate a folder where you construct
your web pages
 Build your pages using Nvu or some other
web page construction tool
 When you are satisfied with your pages,
publish them
What is publishing?
 Before we answer this, let’s back up and
tackle another question
What is the Internet?
What is the Internet?
 It is a hardware/software network of
computers that follow standards for
transmitting information from any one
computer on the network to any other
computer on the network.
Machine ID
 Each computer on the internet has several
unique identifiers.
 MAC codes: Each device on your computer that
can be attached to the Internet has a hardware
code that is unique to that particular piece of
hardware on your computer
 IP Address: An identifier that is assigned to your
computer when it is connected to the Internet
 IP Name: An identifier assigned to your computer
by a Name Server, a special computer that helps
keep a local part of the Internet organized
Machine ID
 Bring up an Command Prompt window
and enter
ipconfig/all
 A MAC number appears as
Physical Address: 00-04-23-64-54-99
 The IP Address appears as
IP Address. . . . . . . . : 192.168.0.170
What the difference between the
Internet and the Web?
 Think of it this way – The Internet is like
the Interstate highway system with a
special set of rules focused on transferring
packets from one computer (exit) to
another (exit).
 Each packet must have:
 Return address
 Forwarding address
 Limited size – Think of it as a highway were
all vehicles are the same size, no exceptions.
Packets
 A computer must break apart the
information it wants to transmit into one or
more packets.
 When forming packets the computer must
place another wrapper around the
information inside the packet.
 That wrapper is called a Protocol.
Internet and the Web
 Protocols
 A protocol is a way of telling the receiving computer
what is inside the packet and what to do with it.
 Some protocols
 TCP
 Telnet
 IP
 HTTP
 SMTP
…
 MAIL
 FTP
Internet and the Web
 The web (HTTP) is one of many protocols
that wrap the information inside of a
packets
 The inventors of the internet were very
clever, they knew that new ways of the
internet would come about – the use of
protocols allows for this.
 In a sense, anyone can invent a protocol
at any time.
What about a web server?
 The Literacy Web Server
 Access via HTTP
 What a web browser does.
 What’s the difference between
 www.cil.cs.scranton.edu
 Retrieve’s the server’s home page
 www.cil.cs.scranton.edu/~beidler
 Goes to the /~logon account finds the folder called
public_html and retrieves the page called index.html.
What about a web server?
 The Literacy Web Server
 How do my pages get there?
 First
 Construct and edit your pages on your computer.
 Construct all your links, etc.
 Then publish
 Publish is just a fancy word for using the FTP protocol to
copy files from one computer to another.
 WARNING: If you are in a dorm you may have trouble
publishing from your dorm room because of the presets
for MacAfee 8.0i – Find someone who knows how to fix
it, its easy to do,
Nvu
 Nvu is a free web construction resource





File
Edit
Link
Table
Picture
 Publish
Nvu
 First




Play with Nvu
Construct a set of pages on your computer
Make them look nice
Make your links work
Nvu
 Once you have
everything
working and
looking good.
 It is time to
publish
Nvu
 Fill in according
to Dr. Sidbury’s
handout.
 Carefully follow
his instructions
via FTP
 Instead of using Nvu’s publish feature, find
a free FTP program and us it instead of
Nvu’s publish window.