Slide 1 - DaBrook.org Zac Gordo by shimeiyan

VIEWS: 3 PAGES: 27

									Servers
Session 2
WDV102
WDV102 Overview
Topics for today

• What is a server?
• Types of servers
• Local versus remote
• Setting up a server
• Hosting company qualities
• Research hosting companies
• Working with 1&1
• cPanel
• FTP
• CSS Sprites?
Servers
Definition

A computer/program that is responsible for
accepting HTTP requests from clients (user
agents such as web browsers), and serving them
HTTP responses along with optional data
contents, which usually are web pages such as
HTML documents and linked objects (images,
etc.).




http://en.wikipedia.org/wiki/Web_servers
HTTP
Definition

Hypertext Transfer Protocol (HTTP) is an
application-level protocol for distributed,
collaborative, hypermedia information systems. Its
use for retrieving inter-linked resources led to the
establishment of the World Wide Web.




http://en.wikipedia.org/wiki/Http
Servers
The big three

• Apache
• Windows
• Google
Servers
A few more…

• lighttpd
• Apache Tomcat (Java)
• Sun Java System (Java)
• WebObjects (Apple)
• WEBrick (Ruby)




Comparison of web server software
Servers
Development         Production

• Local (usually)   • More secure
• Not as secure     • More robust
• Limited access    • Online (usually)
Local Server
Pros                       Cons

• No Internet connection   • Not production safe
• Faster                   • Controlled environment
• No bandwidth worries
• Controlled environment
Servers
A new one to the scene …
Local Server
Your options

• Apache Linux
• Internet Information Services (IIS) Windows
Local Server
Best options for Apache

• XAMPP
• Cross-Platform (X) Apache, MySQL, PHP and Perl
• Free
• Easy
• Most used
Local Server
Installing XAMP

• Download
• Install
• Run




 Download XAMPP
Local Server
Folder Stucture

• /apache/conf
• /htdocs
• /apache/logs
• /manaul

• /apache/bin
• /cgi-bin
• /apache/icons
• /apache/modules
Local Server
Once we’re installed

• Starting, stopping, and restarting
• http://localhost or 127.0.0.1
• url mapping (windows\system32\drivers\etc\host)
• Let’s get started!
Local Server
Configuring

• httpd.conf file
• Default index pages
• Ports




NOTE: For multiple server installs, install in separate
directories and assign different ports to each server
instance.
Database Management
phpMyAdmin

• Software
• Open source
• Managing MySQL databases
• Common
Web Hosts
Types of hosting packages

• Shared
• Virtual Private (Reseller)
• Dedicated
Hosting
What to look for

• 24/7 phone support
• Real plans
• Fits your budget
• Flexible scaling policies
• Good reviews at the
  Web Hosting Talk forums
• Ease of transfers (Cpanel)


Read “The Truth About Web Hosting”
Hosting
The big ones
I’m biased.
Hosting
You get what you pay for
Web Hosts
Doing your research

• Web Hosting Talk Forum
•1&1
• Godaddy
• Dreamhost
• Bluehost
Web Hosts
Your 1&1 control panel

• Login to 1&1
• Let’s explore!
FTP
Definition

File Transfer Protocol (FTP) is a standard network
protocol used to exchange and manipulate files
over an Internet Protocol computer network, such
as the Internet.




http://en.wikipedia.org/wiki/File_Transfer_Protocol
FTP
Setting up FTP Accounts

• @domain.com or not
• public_html / wwwroot
• root access
• additional accounts
Hosting +
Site Analytics

 • Default with hosting
 • Google Analytics
 • Have a Mint
Hosting +
Search Engine Sitemaps

• XML
• Pages on your site
• Rank and update info
• Google webmaster tools

								
To top