I have used barracuda/octopus on linode vps: lucid. The instance is on aegir.my-domain.com.
I want to create a different drupal website on / folder or make a new external website.
I have referred this document to create virtual host.
When i did this as below for my vps, and when i restart nginx it gives me this warning:
conflicting server name "mindtrades.com" on 0.0.0.0:80, ignored ( where my domain name is mindtrades)
and it gives me default site under construction .
As i am new to nginx, if somebody can guide me completely step to step, it would be highly appreciated.
Thanks
Vin
Create the following file:
vim /etc/nginx/sites-available/example.com.conf
This file will have the following content: [show file content]
Important: I’ve created a new DNS A RECORD (using GoDaddy’s free Total DNS service) and pointed it to our new server’s IP address. I then change the following line, in the virtual host config file (see above), to reflect the domain name I am using:
3
server_name .yourdomain.com;
If you’ve been following along so far, basically all your virtual host configs will be defined in the /etc/nginx/sites-available directory, to enable a config, you would create a symbolic link (or file shortcut) in the /etc/nginx/sites-enabled directory, equally to disable a config, you would remove the symbolic link. Nginx will do the rest and search the /etc/nginx/sites-enabled directory for active virtual host configs.
Now we will use the /etc/nginx/sites-enabled directory and create a symbolic link to the virtual host config file:
ln -s /etc/nginx/sites-available/example.com.conf /etc/nginx/sites-enabled/example.com.conf
And the final step here is to restart Nginx:

Comments
You're going to have trouble
You're going to have trouble if you try to use the same domain for an aegir site and a non-aegir site. That error means that you have the same domain configured in two places.
If your aegir site is at example.com, you could do a subdomain like newsite.example.com. You'd have to make sure you correctly configured the DNS record of newsite.mindtrades.com to point to the same IP address. Or you can use a second domain, i.e. secondexample.com.
If what you're saying is that you have an aegir site at example.com and you want to create a second drupal install at example.com/drupal/, then you're going to have some problems.
Is that what you're trying to do?
Hi Aegir site is was done by
Hi Aegir site is was done by using barracuda/octopus and i login to aegir from octopus.my-domain.com and when i browse my-domain.com , it gives me page under construction( Look at mindtrades.com ), Thats the nginx-default directory(maybe..)
I want to host a separate drupal instance on mindtrades.com
Can any one suggest the method
Thanks
Vin
So you want a drupal site
So you want a drupal site configured through aegir. For that you shouldn't need any extra nginx configuration, but should be configured entirely through aegir. Check the aegir configuration and make sure you've correctly added a site through aegir to reside at mindtrades.com.
And best to remove (or move) the custom configuration file above since that should all be accomplished through the aegir interface.
Does this mean i can create a
Does this mean i can create a domain mindtrades.com from my aegir dashboard ? or i should create something like main.mindtrades.com and then create alias to the domain.
Will this ideally work without making any changes in nginx? .
Yes, create the site from the
Yes, create the site from the aegir dashboard. Aegir will handle the nginx configuration.
Thanks Brian , That works and
Thanks Brian , That works and yes this is the best feature of barracuda that has to be mentioned on install txt.
I have an yet another
I have an yet another question:
How do i effectively manade the databases now: i think chive is the option here, but where that is ideally installed so i can have access to it and alternatively can i use phpmyadmin ( my traditional way to manage)
Yes, Chive is installed by
Yes, Chive is installed by the Barracuda script and is preferred. It is possible to install phpmyadmin, but it would take some extra configuration and effort to make it coexist peacefully with the rest of the Barracuda/Aegir system.
Hi brian. Can you give me the
Hi brian.
Can you give me the path where i can access chive?
From this
From this thread:
http://groups.drupal.org/node/89594
it looks like it's located at db.your-domain.com and may require you to set that subdomain in your DNS setup.