Chapter 19 Web
Chapter 19 Web
Administration
Chapter 19
3 Linux and
Apache
Configuration
4 Apache
Request/Respo
nse
5 Web Monitoring
and Analytics
You only lease the right to use the name exclusively for
a period, and must renew periodically.
Registrars are companies that register domain names,
on your behalf (the registrant), under the oversight of
ICANN.
Some popular registrars include GoDaddy, TuCows,
and Network Solutions, where you can expect to pay
from $10.00 per year per domain name.
Mail Exchange (MX) records are the records that provide the
location of the Simple Mail Transfer Protocol (SMTP) servers
to receive email for this domain.
SMTP allows redundant mail servers for load distribution or
backup purposes. To support that feature, MX records not
only require an IP address but also a ranking.
When trying to deliver mail, the lowest numbered servers
are tried first, and only if they are down, will the higher ones
be used.
ranking
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
DNS Record Types
Authoritative Records
Name server (NS) records are the essential records that tell
everyone what name servers to use for this domain. There
can be (and should be) multiple name servers listed for
redundancy.
httpd is apache
Linux defines multiple “levels” in which the operating system can run,
which correspond to different levels of service. Although the details
vary between distributions they are generally considered to be:
0. Halt (shut down)
1. Single-user mode
2. Multiuser mode, no networking
3. Multiuser mode with networking
4. Unused
5. Multiuser mode with networking and GUI (Windows)
6. Reboot
• what file system location to use as the root for that domain.
To return a small static image for all invalid requests use the
following directives:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?funwebdev\.com/.*$ [NC]
RewriteRule \.(jpg|gif|bmp|png)$ http://funwebdev.com/stopIt.png
CacheRoot /fastdisk/cache/
• CacheDefaultExpire determines how long in seconds
something in cache is stored before the cached copy expires.
3 Linux and
Apache
Configuration
4 Apache
Request/Respo
nse
5 Web Monitoring
and Analytics