When you create a new site in Aegir it creates the a directory using the sitename in the corresponding platform. So if the site name is example.com the path for the site will be /var/aegir/platforms/platform_name/sites/example.com/.

Is there a way to create the site in a different directory, like: /var/aegir/platforms/platform_name/sites/my_awsome_path/?

Using a different sitename would be your best option. You could then add an alias for the real sitename.

  • Thanks it works on normal environments (+1 for that). But I tried on my environment and confuses the NLB and the SSL :( – tvl Feb 11 '16 at 15:35
  • Just the occurrence of the site name in a directory path is causing the problem? Then I would expect an alias to work fine for you. – Herman van Rink Feb 11 '16 at 19:41

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.