Can Aegir be installed on ports other than 80.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
SocialNicheGuru's picture

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

nightowl77's picture

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.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week