Building Drupal Multisite on MWN Web Hosting

| 7 comment(s)


As web designer and developer I trust MWN to serve hosting for my client's websites. To install Drupal multisite on MWN that based on SPanel, below are the tutorial I have to you:

I. Using subdomain for Drupal multisite
1. Create your initial Drupal site at www.yourdomain.com.
2. Create a folder in the sites/ folder that matches the subdomain you want to create (so for site1.yourdomain.com, the folder name would be site1.yourdomain.com).
3. Duplicate the settings.php file from the default folder and place it in your newly created folder from step 2.
4. Edit the settings.php file you just placed in the site1.yourdomain.com folder so that it does not point to a database. You can replace the line that has your other site's database information with this:
$db_url='mysql://username:password@localhost/databasename';

The alternative to setting up a separate database for each multisite installation is to assign all sites to the same database as the primary domain, but with their own table prefixes. So for example, for the users table you would have:
Multisite database:
database1.site1.users database2.site2.users database3.site3.users
Single database:
database1.site1_users database1.site2_users database1.site3_users
5. In SPanel (www.yourdomain.com/spanel/spanel.cgi), setup the subdomain from Subdomain Manager menu then click add subdomain. For the above example of site1.yourdomain.com, fill "site1" (without the quotation mark) in the column right before your primary domain. And CHOOSE Alias then click Add.
6. Go to your subdomain address and type in your browser: site1.yourdomain.com/install.php. Drupal will ask for your database information and then install the table necessary to run the new site.
7. You are all set to use a new Drupal multisite in your subdomain.


II. Using domain parking for Drupal multisite
1. Create your initial Drupal site at www.yourdomain.com.
2. Create a folder in the sites/ folder that matches the parked domain you want to create (so for www.yourdomain2.com, the folder name would be yourdomain2.com).
3. Duplicate the settings.php file from the default folder and place it in your newly created folder from step 2.
4. Edit the settings.php file you just placed in the yourdomain2.com folder so that it does not point to a database. You can replace the line that has your other site's database information with this:
$db_url='mysql://username:password@localhost/databasename';
The alternative to setting up a separate database for each multisite installation is to assign all sites to the same database as the primary domain, but with their own table prefixes. So for example, for the users table you would have:
Multisite database:
database1.site1.users database2.site2.users database3.site3.users
Single database:
database1.site1_users database1.site2_users database1.site3_users
5. From your primary domain SPanel (www.yourdomain.com/spanel/spanel.cgi), go to Domain & DNS Manager menu then click Add Addon Domain. Fill your parked domain (www.yourdomain2.com) on Domain's field and choose "addon" for Template zone DNS option then click Submit Query.
6. Setting up the symlinks by point your SSH client at your primary domain and login (I used PuTTY in SSH mode on my Window XP or you can use your own terminal on *NIX machines).
7. At the command line prompt, type each line then hit Enter:

cd /u/your_username/sites
rm -Rf ./yourdomain2.com
ln -s . yourdomain2.com
The symlinks "yourdomain2.com" now points to your document root.
8. Go to your parked domain address and type in your browser
www.yourdomain2.com/install.php. Drupal will ask for your database information and then install the table necessary to run the new site.
9. You are all set to use a new Drupal multisite in your parked domain.

Male Edge Solution


This is the most problem a man can have - about penis. A confidence! I Think I'm not the only one, most of my friend in a large number bewail about the same thing. It doesn't mean we're all have a small size. Some of us even has enough bigger penis and our woman never complain anything. But it's all more about self confidence and satisfaction. If we can get the larger one then why should we choose the smaller? The bigger it is the more confidence we have.


But the problem is how? Where we can get the safe product of penis extender without hurt our "thing"? And will we have our privacy? Of course we don't want a whole world knows about our problem, do we? And the last one is who can guarantee that the product will give us solution? We don't wanna spend our money for nothing.


A couple months ago one of my colleague recommends me a product. He said that he just did it. So I tried to know more by visiting the product's web. The questions I have had just answered by having this penis enlargement device. Mine has increased a few centimeters, longer and stand longer. It's easy to run the training program with no injury, no pain, natural, and twice money back guarantee. The most important thing it's a discreet. My purchase was appeared as "Dana Medic" and the product is shipped anonymous packaging.


Weak Demand for iPhone in Japan

iPhone 3G
Sophistication of technology in every country or for every person could be different. It's not a measurement for the product to be the best seller product. When the first time I know 3G iPhone through it commercial on TV, I though this kind of technology would be sold madly in all over the world. But I was wrong! If I had enough money, I would have no doubt to buy it, but Japanese wouldn't do that!

According to MM Research Institute, selling number of 3G iPhone in Japan could only reach 200 thousands unit for the first two months and it had decreased from month to month.

After thingking and put my eyes on my Japanese colleagues, I have conclusion and understand the reason of why 3G iPhone selling unwell in their country. Everybody has a habbit, and so do Japanese. They used to take one finger to type the text, it's a hard thing to do with wide and touch screen on iPhone. Beside, iPhone doesn't support the common services that used to enjoy by them like using cellphone when doing the payment. Guess what? My opinion is correct, because The Wall Street Journal wrote the same thing!

My Favorite Football's Web TV

Part of The Game
That was one of the worst day ever for me. At the first time, I wondered why my waker alarm didn't rang. I missed the football game between Liverpool and Manchester United. The time difference makes us in Indonesia have to wake us late at night or early in the morning to watch the live game that broadcasted in Europe.

The next afternoon I came home from work earlier. But what can I say the re-broadcast game was missed also because of electricity failure that makes my TV set broken. I was frustation all the day.

I found another better way of watching my favorite football game. The answer of my frustation is Carlsberg web-tv on internet. I prefer Partofthegame.tv to the others because it's not the same as other Internet TV, this web TV collect all special moment of football game. Recently they launched 5 channels showing all aspects about football from classic matches to life as a fan. I can watch anything in anytime. There's no limitation. I don't even have to download software or anything else. Just visit and watch. Mostly, I can give my rating and comment to my favorite video also upload to share them.