Host config issue
Still trying to get aegir up and running on linode. I'm a newbie to FQDN and virtualhosts, etc.
I have a few domains and I've pointed them successfully at my instance and can get a test htmls in their respective virtualhosts to work fine, so I think the issue involves the FQDN.
My hostname is "amite". I've confirmed that with hostname -f, uname -n, resolveip NAME and resolveip xx.xxx.xx.xxx.
In the hosts file, I put in "xx.xxx.xx.xxx amite.thedevilswife.com amite".
I installed aegar and it picked up amite.thedevilswife.com (derived from a southern expression, nothing cultish :-) ) as the FQDN. Put the login link in var/mail/aegir and so on.
I put the following in amite.thedevilswife.com and enabled it, but service apache2 restart fails (taking the rest of the virtualhosts with it).
# Admin email, Server Name (domain name), and any aliases ServerAdmin webmaster@thedevilswife.com ServerName amite.thedevilswife.com #ServerAlias thedevilswife.com
# Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php DocumentRoot /var/aegir/hostmaster-6.x-1.9
# Log file locations LogLevel warn ErrorLog /var/aegir/log/error.log CustomLog /var/aegir/log/access.log combined
I did create a virtual host for just thedevilswife.com pointed at the same directory and get the normal install screen.
Any help is appreciated.
Thanks! Mark
#1
Sorry for the formatting on the file. I'll try some line spacing here.
# Admin email, Server Name (domain name), and any aliases
ServerAdmin webmaster@thedevilswife.com
ServerName amite.thedevilswife.com
#ServerAlias thedevilswife.com
# Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php
DocumentRoot /var/aegir/hostmaster-6.x-1.9
# Log file locations
LogLevel warn
ErrorLog /var/aegir/log/error.log
CustomLog /var/aegir/log/access.log combined
#2
Resolved. Had trouble getting instance to respond to DNS changes, so I started over again with another domain and used the baraccuda script. All joyful now!
Mark