By GavinC on
COuld someone please help. I am trying to set up a multisite drupal.
Please can someone explain to me in stupid terms how this is done???
I have gone through some doc's and have tried and failed
COuld someone please help. I am trying to set up a multisite drupal.
Please can someone explain to me in stupid terms how this is done???
I have gone through some doc's and have tried and failed
Comments
=-=
explain whether you are trying to do this with subdomains? multiple domains?
on a host? on a localhost?
as the directions may differ between these things.
However, here is my method using my own sites as an example:
on a host server
I create my main site, which is linked to my main domain. let's call it crazyworld.com
once that site is installed I create a subdomain on my server called super.crazyworld.com
during creation of this subdomain I point its document root to crazyworld.com ie: the main drupal install
I then go to my main site install and open the sites folder
I create a super.crazyworld.com folder
I upload a BRAND NEW, UNTOUCHED default.settings.php and settings.php file
I point my browser to super.crazyworld.com
the drupal installer runs again, to install this site into its own database, or I use prefixes to install it into the same database as the main site.
Thats about as much information as I can give you without knowing exactly how you are trying to set this up, or why you are choosing to use multisite. It is my experience that in many cases multisites aren't needed.
1. Install drupal in the
1. Install drupal in the document root for example1.com
2. Copy the folder called sites>>default under the sites directory and rename it from default to example1.com
3. Set up a database and go through the normal installation for example1.com
4. Now, point your dns server for example2.com to the SAME document root.
5. Make another copy of the default directory under sites and name it example2.com
6. Go through the setup process again via example2.com. You can use the same database with a prefix or use a different database. You may also need a different "files" directory
Boom. You're done.
:)
4. Now, point your dns
4. Now, point your dns server for example2.com to the SAME document root.How do i do this bit??
=-=
if your host allows you to, you can do so in your host panel or contact your host support.
If not, you have to use symlinks. Though you want to avoid that if you can.
Pointy DNS
Somewhere out there, your domain registrar will let your domain name point to their name servers like ns1.host.net and ns2.host.net
Then, at your hosting company, you can go set up example1 to point to, say /home/docroot1 and set up example2 to do that too. Usually this is down near the bottom of a control panel under "Manage my Domains"
And Very Mis is right. If you are thinking about learning what symlinks are, you are going to be sad.
:)