LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-07-2015, 03:49 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
WordPress Multisite vs. Shared Hosting


I am asking for confirmation that I correctly understand the difference between WordPress Multisite vs. shared hosting. I am doing some preliminary research for a local WISP who is interested in expanding into local web hosting.

If I understand correctly, WordPress Multisite supports multiple WordPress sites from the perspective of being driven by a single instance of WordPress. Multisite uses a single MySQL (MariaDB) database for all sites and several tables are duplicated for each site. A single database probably is not ideal when a customer wants to move all data to a different host provider.

Shared hosting supports multiple web sites from the perspective of the server --- a single instance of Apache running multiple web sites using name-based virtual hosts. While a single instance of Apache is installed with shared hosting, a separate MySQL (MariaDB) database is created for each WordPress customer and WordPress is installed in each customer's /var/www/customer/public_html directory. Unlike Multisite, this means multiple instances of WordPress.

Am I understanding correctly? Feel free to correct me as necessary, preferably without two-by-fours.

Thanks much!
 
Old 05-07-2015, 05:42 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Yes this is correct. You should never advice that customers share databases and wordpress instances, asking for trouble there. You can do tiered sort of setups with Plesk or cPanel/WHM which would be ideal to keep everything centralized but keep customer data isolated.
 
Old 05-07-2015, 07:49 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Okay. Thanks. Am I correct that shared hosting means multiple but separate instances of installing WordPress?
 
Old 05-07-2015, 09:00 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Shared hosting means that a website exists on a server with many other websites.

It is the server that is being shared. A shared server may host 100s, even 1000s of websites. Generally, the public ip of the website is actually the ip of the server; the Apache (or other engine) then directs an incoming call to the appropriate website based on the domain name.

Here's pretty good basic definition of the concept: http://searchsoa.techtarget.com/defi...shared-hosting

My little website is on a shared hosting server. It (my website) contains effectively three sites, each in its own directory: two that are plain HTML sites and, yes, the WordPress install is an independent install from any other shared hosting site on that server. I could remove my WordPress install and not affect any other website on the server.

Last edited by frankbell; 05-07-2015 at 09:04 PM.
 
Old 05-07-2015, 11:43 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
yes, the WordPress install is an independent install from any other shared hosting site on that server
That is what I am trying to distinguish. I understand the server/apache part. I am unclear about how WordPress integrates. If all customers at a hosting server are using WordPress, is WordPress installed separately for each customer in the customer's /var/www/customer/public_html directory?

I am not worried about disk space if that is the case. I justwant to convey the correct information in my research.
 
Old 05-08-2015, 12:07 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
That is what I am trying to distinguish. I understand the server/apache part. I am unclear about how WordPress integrates. If all customers at a hosting server are using WordPress, is WordPress installed separately for each customer in the customer's /var/www/customer/public_html directory?

I am not worried about disk space if that is the case. I justwant to convey the correct information in my research.
Looks good to me.
/var/www/customer1/public_html - Would need a single instance of WP installed AND <db_name1>.
/var/www/customer2/public_html - Would need a single instance of WP installed AND <db_name2>.
/var/www/customer3/public_html - Would need a single instance of WP installed AND <db_name3>.

This arrangement is functionally the same as a the MU version of WP, however with some sysadmin overhead.

Hope that helps.
 
Old 05-08-2015, 06:52 PM   #7
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
This arrangement is functionally the same as a the MU version of WP, however with some sysadmin overhead.
Good enough. Thanks. The unzipped size of the WP (core) archive is 22 MB --- not much at all compared to hard drive sizes these days.
 
Old 05-11-2015, 08:21 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You are very welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help hosting Wordpress site in cloud Ryanms3030 Linux - Virtualization and Cloud 20 03-01-2014 08:18 PM
LXer: How to install WordPress Multisite on Centos VPS with Apache LXer Syndicated Linux News 0 11-20-2013 04:01 AM
Wordpress multisite rewrite rules vv22 Linux - Server 0 10-26-2012 02:06 AM
What's the most reliable FREE web hosting for WordPress blogging? tauro_kpo General 9 03-06-2012 03:54 AM
Processor for shared hosting!! anishkumarv Linux - Server 3 07-22-2011 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration