This forum is no longer active. Please post your questions to our new community site
Drupal Multisites confusion
|
|
Quick versions of the questions I’ve just posted and lost…. When setting up a second site in drupal (Bitnami stack on ubuntu 10.10) – lets call it devone.local – do I need to: 1 – add anything to /etc/hosts
3 – edit the file included to look something like this: NameVirtualHost *:8080 #
<VirtualHost *:8080> using port 8080 because httpd.conf has a listening clause naming this port and then setting up subdirectories and databases as usual for a drupal multisite? At least this is what I have done and its not worked – so what have I done wrong!!!! Kind words only please! Thanks |
|
|
By the way – the number 1 in 1.Virtual hosts / Include conf/extra/httpd-vhosts.conf should be a ‘#’ hash – I didn’t realise there’s some kind of wiki markup going on |
|
|
Hi, maybe this guide helps you. This guide did not use VirtualHosts, it uses alias. http://bitnami.com/article/how-to-install-multi… |
|
|
Thanks Beltran. We seem to be talking at cross purposes – Drupal can serve more than one site from the same instance of code – the link appears to be talking about more than one instance of the Bitnami Joomla Stack - I can’t find any definitive tutorials or complete posts on how to set up Drupal multisites on the Bitnami Drupal Stack |
|
|
Maybe this post could help you http://bitnami.com/forums/forums/drupal/topics/… |
|
|
Thanks agian for your prompt reply – I have seen that post and I can’t see the answer to my questions… perhaps rephrasing one at a time: Where do I configure Virtual Hosts in the Bitnami stack? |
|
|
OK so finally I have it working and I’m not sure what I was doing wrong in the first place! Here’s what I did right: 1 – added host to /etc/hosts 2 – enabled the inclusion of httpd-vhosts.conf 3 – added a virtual host: NameVirtualHost *:8080 <VirtualHost *:8080> where things in [ ] are to be replaced 4 – added the database and db user 5 – copied the default directory to a directory with the same name as my site, edited the settings to give the new db connection string and Yipee! |
|
|
I’m glad to hear this. Thanks for posting the solution. |

