---
title: Mapping a WebDAV network drive
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Once your server meets the [requirements](https://docs.kentico.com/k10/managing-website-content/configuring-the-environment-for-content-editors/configuring-webdav/webdav-requirements-and-limitations.md), you need to map a network drive in your operation system that will be pointing to your web server. There are two ways how this can be done:

- [Mapping the network drive in Windows command line](#mapping-a-network-drive-in-windows-command-line)
- Mapping the network drive in Windows

## Mapping a network drive in Windows command line

1. Open Windows command line (press **\[window]+R**, type _cmd_ and click **OK**).
2. Type the following command:

   ```powershell

   net use x: http://<your_domain>/cms/files

   ```

   The _x:_ part of the command determines which letter will be used for identification of the network drive in your system. Instead of _x_, you can use any letter that is not used for another drive yet.The __ part of the command needs to be replaced with the domain name of your website. So, for example, if your website is running on _<http://www.example.com>_, you would need to enter '_net use x: <http://www.example.com/cms/files>'_. Similarly, for _http://localhost/Kentico_, you would need to enter '_net use x: http://localhost/Kentico/cms/files'_.

## Mapping a network drive in Windows

The following procedure is demonstrated on Windows 7. In other versions of Windows, it may be slightly different, while the principles and the entered values remain the same.

1. Open **Windows Explorer**.
2. Right‑click the **Computer** in the left menu and select **Map network drive**.

   - Alternatively, you can click the **Computer** and select the **Map network drive** action from the top menu.![Mapping a network drive](https://docs.kentico.com/docsassets/k10/mapping-a-webdav-network-drive/mapping_network_drive.png "Mapping a network drive")
3. In the **Map Network Drive** dialog, adjust the following values:
   - **Drive** - select the letter that will be assigned to the network drive in Windows.
   - **Folder** - enter a URL in format _http:///cms/files_ where the __ part should be replaced with the domain name of your website.
   - **Reconnect at logon** - leave this option enabled if you want the drive to be connected next time your start Windows.
   - **Connect using different credentials** - use this option in case that you want to use a different user account than your current Windows account. In such case, you will be asked to enter logon credentials after clicking **Finish**.
4. Click **Finish** and wait until the network drive gets connected.

### Mapping a network place on Windows Vista

When you experience problems while mapping a network drive on Windows XP, Windows Server 2003 or Windows Vista, you can map a network place instead:

1. Open the **Start** menu and right-click **Computer** and choose **Map Network Drive** from the context menu.
2. Click the link saying _Connect to a Web site that you can use to store your pages and pictures_. This will open the **Add Network Place Wizard**.
   1. In the first step of the wizard, just click **Next**.
   2. In the second step, choose **Choose another network location** and click **Next**.
   3. In the third step, enter the URL in the _http:///cms/files_ format and click **Next**.
   4. In the fourth step, enter a name that will be used for the network location (e.g. _MyNetworkPlace_) and click **Next**.
   5. In the final step, click **Finish**.

Once finished, the network place should be mapped and content of the WebDAV network drive should be accessible through it. Please note that in this case, the content will not be accessible under a drive letter (e.g. _X:\\_), but **under the name of the network place** specified in step 4 of the wizard (e.g. _\\\MyNetworkPlace\\_).

## Accessing the network drive

Once you have the network drive connected, it is recommended to check that you can access it. Open **Windows Explorer** or any other file manager that you are using. The drive should be available among other drives in your system, under the letter that you assigned to it when you mapped it.

If you open the drive, you should see that it contains four folders. Each of them contains different types of files stored by your website:

- attachments - contains page attachments and files stored in pages' file fields. They can be found in folders resembling the website's content tree structure.
- content - contains CMS.File pages stored in folders resembling the website's content tree structure.
- media - contains a folder for each media library on the website, while each folder contains the actual content of the respective library.
- groups - contains a folder for each group defined on the site, while each group folder contains the three folders mentioned above, containing only those attachments, content and media that belong to the particular group.

 ![Folders on a mapped drive](https://docs.kentico.com/docsassets/k10/mapping-a-webdav-network-drive/folders_on_mapped_drive.png "Folders on a mapped drive")

> **Info:** **Unusually long response time**
>
> If you are experience unusually long delays when opening a WebDAV drive, copying files to or from it or switching between different WebDAV drives, make sure you have the **Automatically detect settings** option disabled in **Internet Explorer -> Tools -> Internet Options -> Connections -> LAN Settings**.
>
> See the following article for more details: <http://support.microsoft.com/kb/2445570>.

## Multiple websites using the same domain

In a typical scenario, each website running in Kentico uses a different domain. Therefore, the URL of the mapped network drive would be different for each site, letting you map a drive separately for each website.

However, if you have multiple websites using the same domain (typically _localhost_ in a development environment), only one of these websites can be running at a time while all others are stopped. In this case, the network drive always displays content of the site that is currently running.
