DocumentRoot
for each VirtualHost
should point to the directory where you installed WP multisite. There is no actual directory for subsites, they’re all virtual.
Using your example:
<VirtualHost *:80>
DocumentRoot "C:/home/wp-intall-directory"
ServerName mysite-1.dev
# not required Alias /mysite-1.dev "/home/mysite-1"
<Directory "/home/wp-intall-directory">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/home/wp-intall-directory"
ServerName mysite-2.dev
# not required Alias /mysite-2.dev "/home/mysite-2"
<Directory "/home/wp-intall-directory">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
.
.
.
Related Posts:
- Moving wordpress multi to different domain and vhost – cannot log in and menu problems
- How to use WordPress Multisite With Different Domain Names?
- Setting up a wordpress network with third level domains
- How will self-hosted WordPress work with Google Page Speed Service?
- multisite: use a virtual subfolder for subblogs
- How to use alias domain for multisite installation?
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- How To Provide Sub-Blogs Their Own Domain Names?
- WordPress Multisite. Can domain be used instead of subdomain?
- domain mapping confused about sunrise
- WordPress Multisite – Multiple subfolders for blogs
- Using separate Apache log files for multisite
- How to use Multiple-Domains in one Multi-Site Installation?
- Changing Multisite URL after the subsite has been in use
- Jetpack Blog Subscriptions on Multisite [closed]
- Multisite without .htaccess
- How do I use different domain for subdomains in WP Multisite?
- Multiple Multisite networks on the same domain?
- Subdomain and subdirectories together in one installation
- How to configure DNS If I use the plugin yet-another-multi-site-manager?
- Multisite Subdomain Using More Resources Than Others?
- How to properly force https and www on multisite with Apache HTAccess
- Alias domain to Multi-site installation in Apache
- WordPress multisite with multiple parent domains
- How can I fix a Virtual Multiblog install that has no errors, but won’t show all my sites?
- Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- How do I use different URLs in a single WordPress installation?
- Multisite on localhost using xampp
- How to redirect one page on the subdomain
- How to change the parent Domain Name in Multisites Project?
- Can you install / activate the multisite when the install is in a subfolder?
- WordPress Multisite Strange Redirect on Primary Site
- Multisite – Looking for ideas to best manage a main site change
- Multisite Redirection to new domains
- Link structure, WordPress IIS
- Multisite Create Site not working
- WordPress multisite – Bitnami
- Show content of other domain inside WordPress
- Multisite redirecting wrong when without WWW
- How Can I Change The Name Of My Subdomain in WordPress Multisite
- WordPress MU subdomain vhost
- Multisite: Redirect to appropriate domain if subdomain doesn’t exist
- Install multisite wordpress on a subdomain and map to top level domains
- Multisite – One Site with multiple URLs
- Different Domains in Multisite Setup
- Multisite on single wordpress
- How do I correctly configure my AMPPS localhost to use subdomains for multisite?
- Multisite configuration for multiple domains
- How can I map the primary domain for subsite as subdirectory for another domain?
- Folder structure when using multiple domains with WordPress
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- WordPress multisite installation subdomains not working properly
- Multisite Dashboard Always Redirects to Main Dashboard
- WordPress Multisite loads wrong subdomain dashboard
- Serve theme and plugins assets from correct domain on multi-domain multisite
- Website creation for multiple clients but from a single account on multiple host name
- After switch domain, some parts of my site still point to my old domain
- multiple domains point to same site on WP-MU
- Multisite WordPress doesn’t work properly on virual hosts
- WordPress Multisite with Wildcard Certificates not mapping correctly
- Can assign a new domain to a site in a multisite?
- Create new multisite from existing and keep domain?
- new WPMS site not working / Q setting up new site/subdomain
- How to add WordPress site to multisite network when both are addon domains
- New domain in multisite environment
- How To Change the URL of a WordPress Multisite
- Using www along with non-www for main domain in multisite installation
- Multiple WordPress on Virtual Host
- Install WordPress MU outside htdocs
- Multiple domains for with a single instal
- Multisite redirect loop for a single www domain
- wordpress multisite duplicator plugin clon to localhost(xampp) but image not show
- Error Message when logging into WordPress on Xampp
- Swap domains of two sites with each other in multisite
- Upload path/URL weirdness for the main blog of a multisite/network setup
- Restrict users on multisite WordPress install
- Stop wordpress from sending out moderation emails
- BP Multi Network & Members Directory [closed]
- Need to manually regsiter user, send the password and retreive their user ID
- Deleting sites and users automatically in multisite
- How to move theme directory but not plugins/uploads out of WordPress root directory?
- WordPress Installation for multi-domains with nginx and php-fpm
- Is it possible to setup multiple sites with a common pool of posts?
- Not able to access dashboard of subdomain
- How to stop unlink images when remove a site or user
- How to allow WordPress users create sub-website or mini-website under my domain with any basic site builder?
- Stop WordPress Entirely and Run My Own Code
- What is meant by Multisite in WordPress?
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Redirect loop after activating wordpress multisite feature
- WordPress Network (multisite) — how to ensure each site has their own admin URL?
- Is it possible for a child-site of a multisite to be a multisite itself?
- Multisite installation on an existing single installation
- Two installs conflicting – Pages redirecting
- WordPress Multisite for multi-language
- WordPress multisite condition for certain blog_id’s
- New multisite redirects to main site
- WP Multisite: Do a function after blog is activated
- How to login Separately in each blog?