A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.jetbrains.com/webstorm/help/creating-a-remote-server-configuration.html below:

Create a remote server configuration

Create a remote server configuration

In a remote server configuration, the server runs on another computer (a remote host). To access files on the remote server, use FTP/SFTP/FTPS/WebDAV protocols.

To create a remote server configuration in WebStorm, you need to:

  1. Authenticate with the remote host and set up connection between the web server installed on it and WebStorm.

  2. Configure mapping between the WebStorm project and the project folder on the host and its corresponding URL path.

1. Specify the name, type, and visibility of a server configuration
  1. Press Ctrl+Alt+S to open settings and then select .

    Alternatively, go to in the main menu.

  2. In the left-hand pane that lists all the existing server configurations, click and select the server configuration type depending on the protocol you are going to use to exchange the data with the server.

  3. In the Create New Server dialog that opens, type the name of the connection to the server and click OK. The Create New Server dialog closes and you return to the Connection tab of the Deployment node.

  4. Click on the toolbar to mark the server as default.

  5. Clear the Visible only for this project checkbox to enable reuse of this server access configuration in other projects.

    The server configuration settings are stored in the .idea directory together with the project, which allows sharing them between team members through a VCS.

2. Set up connection to the remote host and its server

In the tab (Ctrl+Alt+S ), specify settings for the remote host access, files transfer parameters, and the web server configuration:

  1. Specify the host address, port, and user credentials to access it. The required fields differ depending on the used protocol type.

  2. Set up connection to the remote host's web server:

  3. (Optional) Expand the Advanced section to configure more settings as described in:

3. Map project folder to a server folder and URL path

In the tab (Ctrl+Alt+S ), specify:

  1. Local path: the absolute path to the local project folder. WebStorm automatically fills out this field with the path to the currently opened project.

  2. Deployment path: a folder under the server root where WebStorm will upload the contents of the project folder specified in the Local path field.

    Deployment path is relative to the Root path specified in the Connection tab.

    If a folder with the specified name does not yet exist on the server, WebStorm will create it when you trigger project upload.

  3. Web path: the URL path configured for the folder specified in Deployment path. You can use a slash (/) to point to the root folder, or leave the field blank if the directory is not accessible from the web.

    Web path is relative to the Web server URL specified in the Connection tab.

There are cases when you might want to add several mappings per project. For example, you can overwrite the destination folder on the server for a specific nested-folder in the WebStorm project by adding a separate mapping for it:

In this case, Users/barbara/WS/deployment_demo/nested_folder will be uploaded to /root/work/nested_folder on the server, while all other folders and files from /deployment_demo will still map to /root/work/my_site.

Now that you have the server configuration added, you can access the server's files and folders in the Remote Host tool window. Go to in the main menu, and in the tool window that opens, select the configured server from the drop-down list.

Last modified: 11 October 2024


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4