# Connect to a web server

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

Choose a deployment configuration based on where you want to access files:

* In-place server configuration. In an in-place server configuration, you open a project folder from an existing local web server's document root directly in GoLand. The configuration maps project files to URLs, and the server uses those files directly. Unlike with a [local server configuration](creating-local-server-configuration.html), you do not upload, download, or synchronize files between the GoLand project and a separate folder in the server file structure. [Create an in-place server configuration](creating-in-place-server-configuration.html)

* Local server configuration. A local server serves files from a local or mounted folder at a local URL. In a local server configuration, you develop your application in a GoLand project, then upload the project files to the server’s document root, the folder from which the server serves files. [Create a local server configuration](creating-local-server-configuration.html)

* 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. [Create a remote server configuration](creating-a-remote-server-configuration.html)

## Before you start

Procedure: Enable the FTP/SFTP/WebDAV Connectivity plugin

This functionality relies on the [FTP/SFTP/WebDAV Connectivity](https://plugins.jetbrains.com/plugin/13125-ftp-sftp-webdav-connectivity)  plugin, which  is bundled and enabled in GoLand   by default. If the relevant features are not available, make sure that you did not disable the plugin.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) to open settings and then select `Plugins`.

2. Find the FTP/SFTP/WebDAV Connectivity plugin and click Enable.

Create separate configurations for different destinations. Each configuration has its own connection settings and mappings between project folders and destination folders.

If you need to deploy code to multiple servers, you can create [a server group](server-groups.html) and avoid deploying to each server individually.

## Server access configuration

A deployment configuration stores the connection settings and folder mappings used to access files. It does not install or start server software.

A server access configuration defines the following:

* The server type (in-place, local, or remote).

* The remote host for FTP, FTPS, SFTP, or WebDAV connections. In-place and local or mounted folder configurations use paths accessible from the computer where GoLand runs.

* The server access configuration root: the highest folder in the server hierarchy that can be accessed through the server configuration.

* The URL address to access the server configuration root.

* The protocol to transfer the data through and the connection parameters.

* The correspondence between local folders (that is, the folders under the project root), destination folders on the server (either local or remote), and URL addresses to access the data on the server. This correspondence is called mapping.

Create separate configurations for different destinations. Each configuration has its own connection settings and mappings between project folders and destination folders.

If you need to deploy code to multiple servers, you can create [a server group](server-groups.html) and avoid deploying to each server individually.

> **Note:**
> For file transfer, configure the local and deployment paths. The web URL and web path are used to open files in a browser; they are not required to upload Go source files or executables.

## Default server access configuration

You can set a server configuration as default to have GoLand silently apply it in the following cases:

* [Automatic upload of changed files](uploading-and-downloading-files.html#automaticUploadOnUpdate).

* Manual [upload](uploading-and-downloading-files.html#manually) and [download](uploading-and-downloading-files.html#download_file_folder) of files without choosing the target host.

* [Comparing local files and folders](comparing-deployed-files-and-folders-with-their-local-versions.html) with their remote versions.

* [Editing individual files on remote hosts](editing-individual-files-on-remote-hosts.html).

Procedure:

1. In the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))), go to `Build, Execution, Deployment | Deployment`, select the required server access configuration in the central pane, and click ![the Use as default button](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.setDefault.svg) on the toolbar.

Alternatively, click the Default Deployment Server widget in the GoLand status bar and select the desired server or server group from the popup menu.

2. To [configure the upload to the default server](uploading-and-downloading-files.html), go to `Build, Execution, Deployment | Deployment | Options`.

## See also

### Procedures

[Deployment](deploying-applications.html)

### Reference

[Deployment](settings-deployment.html)  [Remote Host tool window](remote-host-tool-window.html)

