---
title: "Can I run a multisite application on Cloud IDE?"
date: "2025-05-08T07:32:24+00:00"
summary: "Discover how to run multisite applications on Cloud IDE using path-based configuration and ACLI commands. Serve multiple sites efficiently."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/cloud-ide/help/68691-can-i-run-multisite-application-cloud-ide"
id: "4299fd35-8f60-47d0-8cb5-7bde8e6271ee"
---

Cloud IDE has one preview URL, which means you can only serve one site at a time. When running the `acli pull` command, you can select any arbitrary database or files directory to pull from. You can switch sites at any point in time by using the `acli pull` command again and pulling a different database and files directory.

Cloud IDE only recognizes the `sites/default` directory by default. To serve other sites in other directories, we recommend you to use [path-based multisite](https://mikemadison.net/blog/2021/12/3/drupal-domain-vs-path-based-multisite-configuration).

To configure path-based multisite for an example site located under `sites/foo`:

1.  Pull your application in Cloud IDE. Ensure that you pull the database and files directory that correspond to the `foo` site.
2.  Add a `foo` symlink in the `docroot` directory, for example, `cd /home/ide/project/docroot && ln -s . foo`, so that Drupal does not try to serve the `foo` path.
3.  Modify `/home/ide/project/docroot/sites/sites.php` to add `$sites = ['cloud.foo' => 'foo'];`. The first `foo` must match the symlink / path to access the multisite, and the second `foo` must match the name of the site directory on the disk. These are generally same but not always.