How to actually CREATE multisite? (Yes, I know about structure).

Events happening in the community are now at Drupal community events on www.drupal.org.
Mavros Gatos's picture

For several days I've been desperately asking Google how to create multisite, the result is: all explanations tell I should create structure (sites/example1.com, sites/example2.com) and point domains to folders. But what is after creating structure? Maybe it's primitive and obvious for someone, but this step is really missing.

So, how to actually CREATE subsites (yes, again, I know about structure)?

Can you just give the steps: what should be done after creating structure (sites/example1.com, sites/example2.com)?

Subsites should be on different domains. I have virtual hosting and Direct Admin panel.

Comments

Does this help?

edward.peters@drupal.org-gdo's picture

Does this tutorial help: http://drupal.org/node/201673?

No, but my hosting is

Mavros Gatos's picture

No, but my hosting is virtual, and there is Direct Admin, so I can't do a step 2: DNS configuration

Could you maybe be more

Garrett Albright's picture

Could you maybe be more specific about what's not working?

After you've created the structure, did you not go to example1.com/install.php and example2.com/install.php maybe?

Maybe this will help?

chadcross's picture
  1. Add your folder: sites/example1.com. In that folder should be the settings.php file, a files folder, modules folder, and themes folder.

  2. Create a new database for that site. How this is done varies from host to host. It will probably be done in your Control panel. Remember the database name, username, and password. It will be needed later.

  3. Make DNS changes. You need to be able to point the domain name at your server. If you can't make these changes at your host, maybe they can do it for you? It has to be done though. On my server I have to change the dns in two places. I have to add the domain in my "account center". Then I have to add the domain name as a "domain alias" in my control panel.

  4. Like Garrett mentioned, If the DNS is configured properly, when you go to http://example1.com/install.php, you should see a Drupal install page.

  5. Then it is just a matter of following the instructions on the page. It will ask you for the database info you remember from step #2.

It took me a little while to understand it all. It seems that all hosts have different ways of doing things so it is never the same and therefore hard to make an exact step by step. The fun really starts when you try to figure out how email will work with multisite.

Well, by this time I got

Mavros Gatos's picture

Well, by this time I got some answers.
My panel lets create addon, and here is what I get:

example1.com (that will be subsite) is showing the content of main site (/home/account_name/domains/example.com/public_html/)
and reading example1.com/setting.php

And it seems discussion is going to be the same as I started at Drupal forums, so let us go there, ok?:
http://drupal.org/node/321930

(I am really sorry for posting twice, I wasn't getting an answer at Drupal forums, so I posted here as well.)

The fun really starts when

Mavros Gatos's picture

The fun really starts when you try to figure out how email will work with multisite.
If you mean mail server, you can use http://www.google.com/a as mail server. You will just have to change MX server name. (I can, but probably not everyone will)

Yeah, that is where I ended

chadcross's picture

Yeah, that is where I ended up too.

.

Mavros Gatos's picture

.

Problem solved! Look this

Mavros Gatos's picture

Problem solved! Look this discussion: http://drupal.org/node/321930#comment-1062041

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week