Creating a Disk-based Web Site

When FrontPage is first started, a blank page is available for editing. However, because FrontPage is designed to work with Web sites and not just individual pages, you should create a FrontPage Web site that will contain all the files and folders for your Web site.

There are two types of FrontPage Web sites disk-based and server-based. A disk-based Web site is created at a disk location such as C:\Documents and Settings\User\My Documents\My Web Sites. A server-based Web site is created on a Web server and has a location such as http://localhost/MySite. Although FrontPage can create both, not all operating systems support both.

TIP

The location http://localhost points to the local machine. If you are creating Web sites on a Web server installed on your local machine, you can use http://localhost, your IP address, or your machine name. All three mean exactly the same thing.


Windows 2000, Windows XP Professional Edition, and Windows Server 2003 all ship with Microsoft Internet Information Services, or IIS. IIS also ships with the FrontPage Server Extensions, which allow you to create FrontPage Web sites directly on the Web server. We'll talk about creating Web sites on a Web server in the section "Creating a Server-based Web Site" later in this chapter.

graphics/troubleshooting_icon.jpg

If you can't find IIS on your machine and you want to find out if it's installed and working, see "How to Tell if You Have a Web Server Installed" in the "Troubleshooting" section of this chapter.


For more information on the FrontPage Server Extensions, see the "Creating a Server-based Web Site," p. 258.


Windows XP Home Edition does not ship with a Web server and does not support having a Web server installed. Therefore, users of Windows XP Home Edition will need to create disk-based Web sites and then transfer them to a Web server a process known as publishing.

For more information on publishing Web sites with FrontPage, see "Publishing a FrontPage Web Site," p. 299.


To create a new disk-based Web site:

  1. Select File, New. The New task pane is displayed as seen in Figure 13.1.

    Figure 13.1. The New task pane provides easy links to creating new Web sites and new Web pages.

    graphics/13fig01.jpg

  2. In the New Web Site section of the New task pane, choose a Web site template or click the More Web Site Templates option. The Web Site Templates dialog box is displayed as seen in Figure 13.2.

    Figure 13.2. The Web Sites Templates dialog box allows you to specify the location where you want your new Web site created.

    graphics/13fig02.jpg

  3. Enter a disk location for your new Web site or accept the default location. By default, FrontPage places your Web site at C:\Documents and Settings\<User>\My Documents\My Web Sites, where <User> is your user ID on the machine. Use the Browse button to easily locate a particular directory.

  4. Click OK and FrontPage will create the Web site at the location you specified.

CAUTION

Whatever you do, don't ever create a FrontPage Web site on the root of your hard drive! Doing so makes it all too easy to accidentally delete that Web site, thereby deleting your entire hard drive.

FrontPage doesn't have a Recycle Bin. If you delete something from within FrontPage, it's gone for good. I've seen more than one person create a new Web site at C:\and then later delete it only to find to their horror that their computer had just been made inoperable.


If a Web site is already opened in FrontPage, the Add to Current Web Site check box will be available, as shown in Figure 13.3. Checking this box will cause FrontPage to add the Web site you are currently creating to the Web site open in FrontPage. You will not be able to select a location for the new Web site because the new Web site will automatically be created at the same location as the existing Web site.

Figure 13.3. By checking the Add to Current Web Site check box, you can easily add features to an existing Web site.

graphics/13fig03.jpg

Adding a new Web site to an existing Web site is convenient if you want to add some specific functionality to an existing Web site by using a FrontPage template. For example, if you want to add a discussion board to an existing Web site, you can choose the Discussion Web Site Wizard and add it the current Web site.

After FrontPage creates the Web site, the new Web site will be opened automatically for you so that you can begin creating and editing your Web pages (see Figure 13.4). This new Web site is a disk-based Web site because FrontPage accesses it by using a path on your disk drive.

Figure 13.4. Your new Web site has been created, and you are now ready to get to work on your Web pages.

graphics/13fig04.jpg

For more information on creating and editing Web pages, see "Developing the Basic Page: Text, Lists, and Hyperlinks," p. 77.


TIP

The home page for a disk-based Web site is index.htm. This might not be the home page that you want after your site is finished and you've published it to the Internet, but don't worry about it at this point. FrontPage will take care of renaming the page automatically when the Web site is published.


Some FrontPage components will not work correctly on a disk-based Web site because they require a Web server. Active Server Pages (ASP) and ASP.NET pages will also not work in a disk-based Web site. In order for these features to work, you must first publish your Web site to a Web server.

For more information on ASP and ASP.NET pages, see "Data Access Technologies," p. 679.




Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Office FrontPage 2003
ISBN: 0789729547
EAN: 2147483647
Year: 2003
Pages: 443

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net