# Add Server Instance Wizard: Server Location

You see this page of the Add Server Instance wizard when you specify domain details to register an instance of the GlassFish Server v1 or GlassFish Server v2.x with the IDE. To register a server instance, you specify the properties of a local or remote domain.

To register an instance of GlassFish Server v1 or v2.x you need to install the GlassFish Server v1, v2.x plugin from the Update Center.

Use this page to specify the following information about the location of the GlassFish Server and the type of domain you are registering.

Element | Description
--- | ---
Server Location | Supply the path to the local installation of the GlassFish Server. Click Browse to navigate to the location.
Type of Domain | Select the type of domain to register.
Register Local Default Domain | Select this type to register a domain located in the default domain folder of the platform you specify. Choose a domain from the list of accessible domains found in the default domain folder. Note: When you install the server, the default domain folder containing a default domain is created in the local installation folder.
Register Local Domain | Select this type to register a local domain located outside the default domain folder of the platform you specify. If you select this type, you need to specify the location of the local domain.
Register Remote Domain | Select this type to register a remote domain. If you select this type, you need to supply the host and communication port for the remote domain.You cannot stop or start a remote server from within the IDE.
Create Personal Domain | Select this type to create a new domain. This option is only available if you are registering an instance of the GlassFish Server. If you select this type, you need to specify where to create the new domain. Choosing this type enables you to specify port settings for the new domain. You can also choose a profile type from the drop-down list
Profile | If you are registering an instance of the GlassFish Server v2.x, when you create a personal domain you can choose a Profile type from the drop-down list. If you are registering an earlier version of the application server, only the Default profile is available. You choose a profile type according to how you intend to use the application server software. The personal domain is created and configured based on the profile that you choose.
Default | This domain is essentially the same as the Developer profile.
Developer | This domain is configured to be run in a development environment. This configuration offers the advantage of faster server startup.
Cluster | The domain is configured so that it can be used as part of a cluster of application server instances.
Enterprise | The domain is configured to be used in a production environment for large-scale deployments. This profile offers greater security. This option requires that you have HADB installed.

Note: When you register an existing domain, the IDE uses the port numbers and other properties specified in the domain configuration.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.