Answers.Body: <p>ok, just received the answer from the support. will add it here for anyone who has the same issue:</p>
  
  <p>setting the <code>baseCpUrl</code> in the <code>config/general.php</code> does the trick:</p>
  
  <p><code>'baseCpUrl' =&gt; 'https://cms.example.com/',</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-18T13:38:56.297Z
Answers.LastActivityDate: 2020-02-18T13:38:56.297Z
Answers.UserDisplayName: Denis
Body: <p>When Craft is in <code>headlessMode</code> my URLS for admin actions (ex. <code>/admin/set-password</code>) are set to the frontend URL (<code>SITE_URL</code>) instead of the Admin URL (<code>SITE_ADMIN_URL</code>). </p>
  
  <p>Is this behavior as expected? </p>
  
  <p>As my Frontend is using angular I would need to add a redirect on the NGINX server to get the links to work which is kind of a strange workaround. Shouldn't the Action urls use the Admin URL by default instead?</p>
  
  <p>Current behavior:</p>
  
  <p><code>www.example.com/admin/set-password</code></p>
  
  <p>Expected behavior:</p>
  
  <p><code>cms.example.com/admin/set-password</code></p>
  
Tags: <craft3><admin><craft-features><craft-pro>
Title: Is it possible to change admin Actions URL (not only the URI)
ThreadText: # Is it possible to change admin Actions URL (not only the URI)
  
  (Asked by: username_0 on 2020-02-17)
  
  When Craft is in `headlessMode` my URLS for admin actions (ex. `/admin/set-password`) are set to the frontend URL (`SITE_URL`) instead of the Admin URL (`SITE_ADMIN_URL`).
  
  Is this behavior as expected?
  
  As my Frontend is using angular I would need to add a redirect on the NGINX server to get the links to work which is kind of a strange workaround. Shouldn't the Action urls use the Admin URL by default instead?
  
  Current behavior:
  
  `www.example.com/admin/set-password`
  
  Expected behavior:
  
  `cms.example.com/admin/set-password`
  
  **Tags:** craft3, admin, craft-features, craft-pro
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-02-18. Score: 1 | Accepted answer
  
  ok, just received the answer from the support. will add it here for anyone who has the same issue:
  
  setting the `baseCpUrl` in the `config/general.php` does the trick:
  
  `'baseCpUrl' => 'https://cms.example.com/',`
  
  
  ---
  
  