decorative banner

Making a Web site dynamic


    The dynamic site wizard guides you through the steps needed to prepare a Web site for dynamic content. The wizard leads you step-by-step through the process, ensuring that your site is ready for dynamic content quickly and efficiently. These instructions assume you have already created a site and registered it with your Web server by creating an alias or virtual directory.

To make a site dynamic:

  1. With the site file open, click the Dynamic Content Site Settings button in the Dynamic Content toolbar. (Choose Window > Dynamic Content Toolbar to show the toolbar if it is not visible.)
  2. In the Site Settings dialog box, click the Dynamic Site Wizard button.
  3. Select the server-side processing language you want to use for your site (and that is supported by your Web server), and click Next.
  4. Note: You may have to configure your Web server for the dynamic content scripting technology (ASP, JSP, or PHP) you plan to use for your site. Look at the preconfigured servers that come with GoLive for examples on how to do this, or consult the documentation that came with your server for instructions. Also note that Microsoft offers support for more than one scripting language on a Web page. GoLive allows you to pick either VBScript or JavaScript as the scripting language for code that is placed on your Web page. This affects only the code on your Web page. The support files that GoLive adds to your site are the same for both VBScript and JScript. Thus when you add support for either ASP/VBScript or ASP/Jscript to your site, both script language choices become available.

  5. Select the appropriate server connection option: FTP or WebDAV (be sure to enter the server name), or Site Is Served Locally. Then click Next.
  6. Enter the HTTP URL for your site, for example, http://localhost/newsite/, and then click Next.
  7. Set the IP-based security for the site by restricting the GoLive authoring features to a specific IP address or subnet or to anyone (firewall-protected environment only), and then click Next.
  8. Note: This step adds these restrictions to a file called config/include/friends.asp (or config/include/friends.php or WEB-INF/friends.xml). The file friends.asp, located in the Include folder inside the Config folder, lists IPs that can access and edit the site. If a machine whose IP address is not included in this file attempts to access and edit the site within GoLive, an error is returned notifying the user that access is prohibited. If GoLive, your site, and the Web server are all on the same machine, the IP address listed already in friends.asp (127.0.0.1) is the only IP Address that needs to be there. This is the IP Address of a localhost machine. (See Finding the IP address of your computer.)

  9. Set up your data sources now or leave the setup for later. (See Understanding data sources.)
  10. Click Finish.

Related Subtopics: