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-local-server-configuration.html below:

Create a local server configuration

Create a local server configuration

A local server is a server that runs in a local or mounted folder and serves files to a local URL address. In a local server configuration, you do the development in a WebStorm project, and then upload the project files to the document root on the server.

To create a local server configuration in WebStorm, you need to set up connection between WebStorm and the server and configure mapping between the WebStorm project and the project folder on the server and its corresponding URL path.

Before you start, make sure the web server is configured and running. For more information, refer to the web server official documentation.

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 Add and select Local or mounted folder in the popup menu.

  3. In the Create new server dialog that opens, type the name of the server to create 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 server

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

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

In the tab (Ctrl+Alt+S ), specify the mapping between the project opened in WebStorm and the folder under the server document root that shall correspond to it:

Example:

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: 08 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