Answers.Body: <p>This may not be relevant, as the URLs don't look like Wordpress, but I had a similar problem when I had a dev version on dev.example.com. The absolute path is </p>
  
  <blockquote>
    <p><a href="https://dev.example.com/wp-content/plugins/civicrm/civicrm/" rel="nofollow noreferrer">https://dev.example.com/wp-content/plugins/civicrm/civicrm/</a></p>
  </blockquote>
  
  <p>But [civicrm.root] is</p>
  
  <blockquote>
    <p><a href="https://dev.example.com/dev/wp-content/plugins/civicrm/civicrm/" rel="nofollow noreferrer">https://dev.example.com/dev/wp-content/plugins/civicrm/civicrm/</a></p>
  </blockquote>
  
  <p>The problem is that the files are held in subdirectory dev but this is handled by a redirect in the CMS hosting service.</p>
  
  <p>There was no problem when the URL was just example.com. So also depends on the actual URL you use for CiviCRM.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-03T11:08:43.640Z
Answers.LastActivityDate: 2019-04-03T11:08:43.640Z
Answers.UserDisplayName: Mick Kahn
Answers.Body: <p>I think I'd agree with @Aidan it's probably in civicrm.settings.php. Based on your other question you've used composer to install, and then likely used drush to enable the civicrm module. If you do that you need sometimes to pass the -l parameter to drush otherwise it puts "default" in for the domain name in civicrm.settings.php.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-03T17:50:04.167Z
Answers.LastActivityDate: 2019-04-03T17:50:04.167Z
Answers.UserDisplayName: Demerit
Body: <p>When i set up the Settings this way:
  <a href="http://example.com/civicrm/admin/setting/url?reset=1" rel="nofollow noreferrer">http://example.com/civicrm/admin/setting/url?reset=1</a></p>
  
  <pre><code>[cms.root]/libraries/civicrm
  </code></pre>
  
  <p>It tries to resolve resources from:</p>
  
  <pre><code>http://default/...
  </code></pre>
  
  <p>When i change to absolute path:</p>
  
  <pre><code>http://example.com/libraries/civicrm
  </code></pre>
  
  <p>it works.
  But should't the example above be correct?</p>
  
  <p><strong>SOLVED Edit:</strong></p>
  
  <p>as @Demerit and @Aidan corectly pointed out, that setting was in </p>
  
  <pre><code>civicrm.settings.php 
  </code></pre>
  
  <p>in</p>
  
  <pre><code>web/sites/default/
  </code></pre>
  
  <p>TY!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-03T09:19:58.700Z
Comments.Text: Which CMS are you using?  On the Resource URL's settings page, click the help icon and check the values displayed there.  Check your civicrm.settings.php and see what URL's are set there.
Comments.UserDisplayName: Aidan
Tags: <civicrm.settings>
Title: cms.root Setting
ThreadText: # cms.root Setting
  
  (Asked by: username_0 on 2019-04-03)
  
  When i set up the Settings this way:
  http://example.com/civicrm/admin/setting/url?reset=1
  [cms.root]/libraries/civicrm
  
  It tries to resolve resources from:
  http://default/...
  
  When i change to absolute path:
  http://example.com/libraries/civicrm
  
  it works.
  But should't the example above be correct?
  SOLVED Edit:
  as @username_3 and @username_1 corectly pointed out, that setting was in 
  civicrm.settings.php 
  
  in
  web/sites/default/
  
  TY!
  
  **Tags:** civicrm.settings
  
  > **Comments:**
  > **username_1**: Which CMS are you using?  On the Resource URL's settings page, click the help icon and check the values displayed there.  Check your civicrm.settings.php and see what URL's are set there.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-04-03. Score: 1
  
  This may not be relevant, as the URLs don't look like Wordpress, but I had a similar problem when I had a dev version on dev.example.com. The absolute path is
  
  > <https://dev.example.com/wp-content/plugins/civicrm/civicrm/>
  
  But [civicrm.root] is
  
  > <https://dev.example.com/dev/wp-content/plugins/civicrm/civicrm/>
  
  The problem is that the files are held in subdirectory dev but this is handled by a redirect in the CMS hosting service.
  
  There was no problem when the URL was just example.com. So also depends on the actual URL you use for CiviCRM.
  
  
  ---
  
  ### Answer by username_3 on 2019-04-03. Score: 1
  
  I think I'd agree with @username_1 it's probably in civicrm.settings.php. Based on your other question you've used composer to install, and then likely used drush to enable the civicrm module. If you do that you need sometimes to pass the -l parameter to drush otherwise it puts "default" in for the domain name in civicrm.settings.php.
  
  
  ---
  
  