By Pushkar Gaikwad on
hi,
I have installed drupal on my main site and I am also looking to have sites on my subdomains for which I want to use same drupal installation. How can I use it?
hi,
I have installed drupal on my main site and I am also looking to have sites on my subdomains for which I want to use same drupal installation. How can I use it?
Comments
Read the INSTALL file?
The install file explains this. You add a settings.php, and you arrange for the subdomain to fetch pages from the same drupal dir as the main domain.
Perhaps you were installed with fantastico so you didn't have to read the instructions the first time?
yes, I installed it with
yes, I installed it with fantastico through my cPanel. Can you give me some more details as I am still lost..
Even with fantastico ...
You have a file named INSTALL.txt at the root of your drupal installation. If you don't have shell access, you can't do this, I think.
Here's what I did, anyway.
Finally, I got it to work too
- I used fantastico to create a new installation and told it my subdomain name.
- Fantastico created a new file structure under public_html/subdomain
- The only thing I had to do was update the following:
$base_url = 'http://subdomain.domain.org'; // NO trailing slash!
to
$base_url = 'http://domain.org/subdomain'; // NO trailing slash!
Then, I redirected my subdomain to this directory and presto! It worked!
Thanks for the info
I haven't used Fantastico for this, so I didn't know it would do that.
I have a how to on doing multi-site installs here: http://drupal.org/node/125539
Would you mind posting that tidbit over there? I don't want to take credit for your find, and I know it would definitely help people.
--
Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me