Académique Documents
Professionnel Documents
Culture Documents
Web
2012
Lecture 2
Sean Costain 2012
Web Content
Web content is data
that is delivered to the
end user through web
pages.
Web Server
A web server is a computer that runs a special service
that is designed to handle web requests.
A web request is a data stream that flows on port 80 or
port 443. The language of the web is TCP/IP.
TCP/IP
Web Server
TCP/IP Ports
Port 80 http traffic; the primary port used by the
world wide web (www) system. Web servers open this
port then listen for incoming connections from web
browsers.
Port 443 https traffic; secure web browser
communication. Data transferred across such
connections are highly resistant to eavesdropping and
TCP/IP interception.
Has 1056 common ports for
communication
Port 80
Port 443
Sean Costain 2012
Web Server
2 Main Web servers in the world
Apache
IIS (Internet Information Services)
Remote Server
A remote web server is a server that is not running on the
machine you are currently using.
Remote servers are normally production servers, these can come
in various formats such as:
Dedicated Servers
Virtual Servers
Shared Web Space
Dedicated Server
Expensive
Full Control
All the
hardware is for
your use only.
Virtual Server
Medium Price
Full Control over
VM, not physical
config
Other user share
the same
hardware
Sean Costain 2012
Shared Web
Cheap
Control only over
your data.
All resources shared
with other clients,
physical and digital.
Local Server
A local web server is a server that is running on the machine you
are currently using.
Local servers are normally development servers, these can come
in various formats such as:
A server your company controls
A desktop machine you use
Portable on a USB
Local servers are faster than remote servers as the browser
request doesnt have to leave the machine.
Communication Methods
When it comes to Remote servers, there are a few ways of
communicating with the server. This is all dependent on the
type of server.
Dedicated server : RDP (port 3389), Telnet (port 23), SSH
(port 22), FTP (port 21), File upload through the web (port
80)
All other server types:
FTP (port
RDP21), File upload through the web (port 80)
FTP
RDP, telnet and SSH all allow for access to manipulate the operating system.
FTP and file upload, only manipulate your web files
Sean Costain 2012
Communication Methods
Local servers, on the other hand, are extremely easy to
work with.
You can just copy over the working files or work directly
on them with your web application.
Apache stores its web
pages in a folder called
htdocs.