Answers.Body: <p>Yes, you can change the name of the <code>craft</code> folder. In the <code>index.php</code> file in the <code>public</code> folder update the path for the <code>craft</code> folder in the <code>$craftPath</code> variable. I use the following naming scheme for my sites: </p>
  
  <pre><code>// Path to your craft/ folder
  $craftPath = '../craft-domainname';
  </code></pre>
  
  <p>So my server directory looks something like this:</p>
  
  <pre><code>/(server-root)
    --craft-domain1
    --craft-domain2
    --craft-domain3
    --public_html
      --domain1
      --domain2
      --domain3
  </code></pre>
  
  <p>I keep the name <code>craft</code> in my folder structure but you don’t need to. I just do so it groups all the Craft installations together.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-08T07:10:51.133Z
Answers.LastActivityDate: 2016-05-08T11:29:04.910Z
Answers.LastEditDate: 2016-05-08T11:29:04.910Z
Answers.UserDisplayName: Cavell Blood
Body: <p>Can you change the name of the Craft folder? I run several sites on a VPS and to place the Craft folder above the webroot, means that it sits in the User Directory, which has multiple domains running and potentially more domains could run Craft CMS and therefor the Craft folder(s) would conflict if they are all placed in the User Directory.</p>
  
Tags: <install>
Title: Changing the name of the Craft folder when placed above the webroot?
ThreadText: # Changing the name of the Craft folder when placed above the webroot?
  
  (Asked by: username_0 on 2016-05-08)
  
  Can you change the name of the Craft folder? I run several sites on a VPS and to place the Craft folder above the webroot, means that it sits in the User Directory, which has multiple domains running and potentially more domains could run Craft CMS and therefor the Craft folder(s) would conflict if they are all placed in the User Directory.
  
  **Tags:** install
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-08. Score: 4 | Accepted answer
  
  Yes, you can change the name of the `craft` folder. In the `index.php` file in the `public` folder update the path for the `craft` folder in the `$craftPath` variable. I use the following naming scheme for my sites:
  
  ```
  // Path to your craft/ folder
  $craftPath = '../craft-domainname';
  
  ```
  
  So my server directory looks something like this:
  
  ```
  /(server-root)
    --craft-domain1
    --craft-domain2
    --craft-domain3
    --public_html
      --domain1
      --domain2
      --domain3
  
  ```
  
  I keep the name `craft` in my folder structure but you don’t need to. I just do so it groups all the Craft installations together.
  
  
  ---
  
  