Posted by SocialNicheGuru on October 11, 2010 at 4:40pm
Can Aegir be installed on a non-standard port. I have ngnix running on port 80 with another application?
would the sites created also be deployed on the non-standard ports?
Social Niche Guru
Comments
Yes
I battled with this myself - I already had apache running on port 999 with a varnish server in front of it on port 80 (non drupal setup).
Here's a few tips:
In /etc/apache2/conf.d/aegir.conf change "VirtualHost *:80" to your new port, for example "VirtualHost *:999"
Also go to /var/aegir/config/server_master/apache/vhost.d/ and look inside. You'll see your servername, inside you must also change the virtualhost to the new port.
If you are on ubuntu, also check /etc/apache2/sites-enabled/000-default and make sure there is no *:80 in it.
Make 100% sure that you don't have VirtualHost :80 in *any of your other apache conf files server wide. I battled with this for hours and found it in one of my old (non-drupal) virtual hosts.
That is all I know so far. I just got it up and running a few minutes ago, can log in but haven't set up websites yet, and I must run. If there are additional steps required I would not know, but I'm sure I saw a apache port config option inside aegir somewhere. But I'll only be able to check it out tomorrow.