Delen via


How to Specify the Domain Name

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

You must change the non-secured (or secured) host name of your application to the domain name set up on the Domain Name System (DNS) server, for example, www.microsoft.com. Commerce Server does not automatically read the domain name from DNS. Instead, Commerce Server uses the computer name as the default domain name.

When you first unpack a site, your applications are named with the computer name, for example, Server1, and the Internet Information Services (IIS) application paths that you specified during the unpacking process, for example, /msn.

For each application in your site, you must rename the application that uses your domain name. For the application www.microsoft.com/msn, the domain name is www.microsoft.com and the IIS application path is /msn.

After you change a property in Commerce Server Manager, you must restart all services that use those values.

To specify the domain name

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2007 , and then click Commerce Server Manager.

  2. In the Commerce Server Manager console, in the left pane, expand Commerce Server Manager, expand Commerce Sites, and then click the site that you want to administer.

  3. Expand Applications, right-click the application that you want to rename, and then click Properties.

  4. In the <site>Properties dialog box, on the General tab, do the following:

    Use this

    To do this

    Nonsecure host name

    Type the DNS domain name to use for non-secured links in your applications. If you are using a port number other than 80, you must append that number to the end of the nonsecure host name, for example, www.microsoft.com:81. To view or edit the port number, see the TCP Port box on the Identities tab in the Web Server Properties dialog box. For more information, see How to Configure a Web Server.

    IIS application path

    Type the path of the IIS application. If you change this property, you must change the location of the files on the Web server(s) to correspond to it. You must also configure IIS with the new application.

  5. In the <site>Properties dialog box, click OK.

See Also

Other Resources

How to Add a Web Server to an Application

How to Configure an Application

How to Add an Application to a Site

How to Restart IIS

Managing Commerce Sites and Applications