Warning: Table './internetbusiness/url_alias' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(pid) FROM url_alias in /home/content/43/3775343/html/includes/database.mysqli.inc on line 134
Start with a new multi site | Internet Business

Mobile Full Site Switcher

Powered by Drupal, an open source content management system
user warning: Table './internetbusiness/url_alias' is marked as crashed and last (automatic?) repair failed query: SELECT dst FROM url_alias WHERE dst = 'node/1' in /home/content/43/3775343/html/sites/all/modules/globalredirect/globalredirect.module on line 138.

Internet Business

Start with a new multi site

Today is a new start. My bunch of drupal multisites have been upgraded to the latest core revision. Modules that were out of date with certain security issues have been updated as well. And a number of new sites have been added to my drupal multi site installation.

It was quite a work. Main issue was to add the new databases for the new sites. It eventually only worked when I included the correct name of the local host in the Drupal installation script.

But note that I am very enthusiastic about the Drupal multi site functionality. It works great and it saves a lot of time when you need to update modules and Drupal core. The key issue is just remembering how you did this before.

So, just to remember, some steps I had to take:


  • Include the URL in my hosting set-up.

  • Create the database for this URL and new site.

  • Note down all passwords, user ID's etcetera.

  • Create the directory with the name of the site (example.com) in the Drupal sites directory.

  • Copy the renamed settings.php file to this new directory.

  • Note that there is no need to create the "files" directory in this new directory. Drupal is doing that automatically when installing.

  • Wait a few minutes before going to the new URL to allow the hosting provider to link the URL to the hosting service.

  • Go to the URL and start the Drupal installation.

  • As mentioned before, get the correct "local hostname" for the database from the hosting service and fill this out when putting all the database info in the database-installation screen.

  • Create the contact@example.com email addresses and CC them to my gmail so that each site has a corresponding email address for the email communication with the users.


I forgot probably a gain a few steps, but this were when I was thinking back about the last few hours the ones that came to mind.

Let me know if you have any questions on how I use the Drupal multi site functionality.





The Local Host Name for the database creation is the server name + path for the database, not for the site and not just the IP address.


Recent comments

User login