Microsoft FrontPage: Publishing A Web SiteUnderstanding server extensions There are several benefits to publishing to a Web server with FrontPage Server Extensions: · Your Web will have full FrontPage functionality when it is published. Without the server extensions, advanced server-side features will not work, including form handlers, search, hit counters, discussion webs, and component features. · FrontPage maintains your files and hyperlinks—each time you publish the Web, FrontPage compares the files on your local computer to the files on the Web server. For example, if you move a file in your local Web, FrontPage updates and corrects any hyperlinks to it, and then makes the same corrections to the files on the Web server the next time you publish the Web. · After you have published the Web, you will be able to edit it directly on the ISP\'s Web server (however, the local version of your Web will not remain in sync). · If your Web server has FrontPage Server Extensions, FrontPage can publish your Web using HTTP (HyperText Transfer Protocol). Otherwise, your Web will be published using FTP (File Transfer Protocol). · Finally, MS Office applications can save files directly to your FrontPage-based Web site if the Web server has the FrontPage Server Extensions installed. You can choose which files to publish, and which ones not to publish. For instance, if a page is incomplete, you can mark the file so that it doesn’t get published. Later, if you decide to publish the file, you can change its publishing status. You can also choose to publish only those files that have changed. FrontPage compares the files in the working Web on your local computer to the published files on the Web server. If FrontPage detects a newer version of a file on your local computer, the file is published to the Web server. To mark a page to exclude from publishing 1. Select the file you want to mark as excluded from publishing and right-click on the file. 2. Click Properties on the shortcut menu, and then click the Workgroup tab. 3. To prevent a file from being published, select the Exclude this file when publishing the rest of the web check box. To mark a page to include in publication 1. Select the file that you previously marked as excluded from publishing and right-click on the file. 2. To mark a file for publishing, clear the Exclude this file when publishing the rest of the web check box.
Viewing the publishing status of files You can view the publishing status of all the files in a Web by running a report. The Publish Status report indicates whether a file has been marked as “Publish” or “Don\'t Publish.” All files are marked as “Publish” unless you change the status. To view the publishing status of files 1. On the View menu, click the Reports button to go to Reports view. 2. On the Reports toolbar, select from Publish Status the drop-down list. 3. The Publish column displays the publishing status of each file. With FrontPage, you can use two methods of publishing to your Web hosting service—Front Page Server Extensions or FTP (file transfer protocol). Both work, but if your Web hosting service has FrontPage Server Extensions, you can publish your Web by just entering the Web site’s address as you would when viewing it in your browser. If FrontPage Server Extensions are not installed on the server, you can use FTP (file transfer protocol) to copy the files to the server. Publishing to HTTP, FTP, or a file system Publish using HTTP (HyperText Transfer Protocol) if the FrontPage Server Extensions are installed on the Web server to which you are publishing. Publish using FTP (File Transfer Protocol) if the FrontPage Server Extensions are not installed on the Web server to which you are publishing. If you have not already added the FTP location, you need to know the FTP server name and directory path. You can publish your Web to a folder on your local file system or to a UNC path. For example, you can make a backup copy of your entire Web by publishing it to a new disk-based location, such as C:\Backup. Publishing a Web rather than just copying files ensures that all necessary files are saved and in the correct structure. To publish your Web site 1. On the File menu, click Publish Web. The Publish Web dialog box appears. 2. Click Options to expand the list of options. 3. Specify whether you want to publish only pages that have changed, or all pages. 4. To publish subwebs, select the Include subwebs check box. All files and folders of the subwebs in the current Web is published recursively, in addition to the files and folders of the current Web. 5. In the Specify the location to publish your Web to box select the location you want to publish to: · HTTP. Type the location of a Web server, click the arrow to select a location to which you have published before, or click Browse to find the publishing location. · FTP. Type the FTP server location (ftp://ftp.server.com/~folder) in the Publish Web dialog box (be sure to type ftp:// before the server name), and then type your user name and password in the dialog box that appears. To find an FTP site, click Browse, click the FTP site in the Look in box, and then click Open. · File system. Type the path to the folder on your file system, such as C:\MyWebs or \\Webs\Myfolder. To find the folder, click Browse. 6. To publish using a secure connection when publishing with HTTP, select the Secure connection required (SSL) check box. Your destination Web server must support SSL for this feature to work. 7. Click Publish. FrontPage publishes your Web. If you cancel publishing in the middle of the operation, files that have already been published remain on the destination Web server. Adding or changing an FTP location When you publish your Web to an FTP location, you can set up the FTP location, and your user name and password, in advance. Then, whenever you publish your Web, your login information is provided automatically. After adding an FTP location, you can change it, for example to update your password. Before you can set up an FTP location, you need to know the FTP server name and directory path. The FTP server name is the domain name of the Web server to which you are publishing (for example, ftp.server.com). The directory path is the folder on the server where your Web is stored (for example, /www). If you are unsure about your user name, password, or FTP location, contact your Internet service provider. To add, change, or delete an FTP location1. On the File menu, click Publish Web. 2. Click Browse. 3. In the Look in box, click FTP Locations. 4. Double-click Add/Modify FTP Locations. 5. To add an FTP location, do the following: · In the Name of FTP site box, type the FTP server name and directory path, for example ftp.server.com/www, and click Add. · Under Log on as, specify whether you want to log on to the FTP server as an anonymous user, or specify your user name and password. Then, click Add. 6. To modify an FTP location, do the following: · Under FTP sites, click the site to modify. · Under Log on as, change the settings as needed, and then click Modify. If you want to change the FTP site name, you must add the site as a new FTP location. 7. To remove an FTP location: Under FTP sites, click the site, and then click Remove. If you are publishing a FrontPage Web that has been published at least once before, use the following method to copy only those pages that have been edited since the last time you published or copied the FrontPage Web. To copy to the server 1. On the File menu, click Preview in Browser, and click Preview. 2. On the File menu, click Close. 3. Click the Publish FrontPage Web button. 4. In the Publish dialog box,
click OK. 5. Save your changes and close FrontPage. Tips for Publishing on the Web
|