If you have spent much time on the Internet, you probably will want to develop your own presence there. With Mac OS X, some additional tools, and a bit of creativity, you can develop your own Web pages and serve them to the world.
Two fundamental "parts" are required to provide Web pages to the Internet or to an intranet. First, there is the content and format of the information that is presented. As you probably know, Web pages are a collection of Hypertext Markup Language (HTML), Java Server Pages (JSP), and other files (JPGs, GIFs, and so on). In turn, a Web site is a collection of Web pages that are organized in some fashion (sometimes, this organization appears to be quite random!). Typically, a site's Home page (often called the index of the site) provides the top-level structure for the site and includes the links that connect the Home page to other pages.
The second part of the system needed to get Web pages "out there" is the Web server application that actually hosts the pages on the Internet (or on an intranet). The Web server is responsible for ensuring that the files on the site can be accessed properly. A Web server also provides the tools needed to monitor and manage the Web site.
A Web server usually runs concurrently with servers providing other services, such as File Transfer Protocol (FTP) and e-mail.
Many tools are available that you can use to create a Web site. These range from using text editors to "hand code" the HTML on each page to using "What You See Is What You Get" (WYSIWYG) Web page editors, which automate the coding process and enable you to see what you are creating as you create it. WYSIWYG tools can also enable you to develop, organize, and manage an entire Web site. For example, you can visually map the entire site so that you can see where each link takes you.
Explaining how to create a Web site is beyond the scope of this book. However, there are many easily accessible resources you can use to help you decide how you want to create your site and also to explain the details of doing so. For example, for an explanation of HTML codes, visit www.willcam.com/cmat/html/tags.html. There are also numerous books that describe how Web sites can be created and managed, such as the following:
Special Edition Using HTML 4, 6th Edition
The Art and Science of Web Design
Easy Web Pages, 2nd Edition
After a Web site has been created, it must be served by a Web server application; this process is also known as Web hosting. There are two ways that a site can be hosted. One is to use a hosting service. The other is to host the site yourself from your own Mac.
A Web hosting service takes content you provide (your Web site) and serves it to the Internet. At their most basic level, Web hosting services simply offer you space on the server on which you can store your site; you are usually assigned a specific address based on the account you have on that service. There are also Web hosting services that go beyond these basic services. Many hosting services also provide domain name registration for you so that you can choose the URL for your site. Other hosting services provide tools you can use to create the site as well. These tools can be standalone tools that you use, or the service might provide preformatted pages that you complete by adding your own content. Many hosting services charge a fee for their services, but there are also many that serve your pages free (usually with limitations on the size of your site or the amount of data that can be served from it; many also require that they be able to place ads on your site).
With Mac OS 9, Apple introduced its own Web hosting service as part of the iTools service. For Mac OS X, version 10.2, iTools became .Mac and continued to be integrated into the OS so that it is a natural extension of your system. Using .Mac, you can quickly create your own Web site, you get a mac.com e-mail address, and you have access to other services, such as the use of storage space on the .Mac servers (known as your iDisk). When you use .Mac to host a Web site, you upload the files for your site to your iDisk. Then, the .Mac server handles serving your site to the Internet. This approach is beneficial because you don't use your Mac's resources or your Internet connection to host the site.
To learn how to create a Web site with .Mac, see "Using .Mac to Create and Serve Your Web Pages," p. 371.
You can also use Mac OS X to host a Web site for the Internet or for a local intranet because the Web server software you need is already built into Mac OS X. Serving a Web site to the Internet is a fairly complex task, and there are many nuances you need to consider. However, serving a Web site to a local network is fairly straightforward. In either case, you can use Mac OS X to get your site online.
To learn how to host a Web site on your Mac, see "Using Mac OS X to Serve Web Pages," p. 389.