Web Servers, FTP, and Content Management: A Technical Deep Dive
Update Content
Internet and Web Servers
Websites are hosted on computers called Web Servers. These servers use programs that accept requests from clients.
Examples of Web Servers:
- IIS (Internet Information Server)
- PWS (Personal Web Server)
- WAMP (Windows + Apache + MySQL + PHP)
- LAMP (Linux + Apache + MySQL + PHP)
- XAMPP
- Apache (.php)
- Apache Tomcat (Pages .jsp)
Server Types
- Local server (intranet): http://IP_servidor.internet or http://localhost
- Remote server (internet): http://www.dominio.xxx or http://IP_publica (dyndns.com)
Services: FTP / Mirroring
A) Transfer Files with FTP
FTP (File Transfer Protocol) allows you to upload pages to the Web server. There are alternatives (Back Office) using pre-programmed web pages.
For example: http://karlikis.com/administrador connects to your FTP server to highlight aspects.
- Connecting to the server:
- Browser:
- Anonymous: FTP://servidor
- Discovered: ftp://wername.password@servidor
- FTP Clients:
- No graphics
- Graphics: File Zilla, Cute FTP, etc.
- Browser:
- FTP server means:
- Machine ready to save files
- Programs servers (e.g., IIS)
- Directory structure on an FTP server:
- Free-organization (not desirable!)
- Organized: e.g., /…/user/home/mi_usuario
- User Types:
- Anonymous
- Registered: login and password
- Table of permits (in access)
- Ratio / Fee
- Ratio: numerical relationship between uploaded and downloaded files. [Detached credit system P2P programs]
- Quota: Maximum space occupied by a user on an FTP server.
- Ports and modes
- FTP works on port 21 for listening and responding on port 20.
- Modes functioning:
- Assets (21 -> listen // 20 -> answer)
- Liabilities (only works on 21) -> my common if there is a Firewall
- Ratio / Fee
B) Mirroring
Mirroring involves techniques to create accurate images of an FTP server on another machine in case of the possible fall of the former.
We can generate a mirror:
- Manual (using FTP) [complex, heavy…]
- Automated (using applications)
- WSFTP_Professional
- Commands
- Linux
- Unix
Content Management
A) Question: How do we manage the contents of a site?
Answer: We can manage in 2 ways:
- Pedestrian (Creating Documents -> upload to FTP)
- CMS (Content Management Systems)
Ex: PHPNuke, Joomla, [Blogger]
Features (desirable) for a CMS
- Simple to use
Note: language-influenced, influence of documentation, influences the changes between versions…
- Supports multiple users (types of users)
- Flexible to change (add / remove forums, polls, chats…)
- Modular design (free, $(depago))
e.g., gesture images, interactive calendar
B) Synchronization of content (versioning)
- Typology
- Manual: replace the modified files manager
- Automatic: a software programmed to synchronize a local folder with a remote folder via FTP
- Content Search
- Types of search engines
- Internal Program by the webmaster (PHP -> MYSQL)
- External parasitize moter google search.
- Types of search engines