# subdomain mulitsite on localhost in a subfolder

I have a sudomain-based WPMU installation locally with xampp. My vhosts lists domains like follows:

127.0.0.1 mainDomain.com
127.0.0.1 siteA.mainDomain.com
127.0.0.1 siteB.mainDomain.com
127.0.0.1 siteA.com
127.0.0.1 siteB.com


The WordPress MU Domain Mapping PlugIn maps "real-domains" on system-subdomains.

To have a standard project structure, I would like to move my installation from the documentRoot to a subfolder.

My question is, what do I need to do, to accomplish that and will it have any consequences for the compatibility between my local- and a live-system?

-

See Multisite on Windows with wildcard subdomains for a guide how to manage subdomains automatically on Windows with XAMPP. You can move the plugin directory to another directory per wp-config.php. This is possible for themes too, but automatic theme upgrades will fail currently.
Thx for your help. Simple question: I am fine adding DocumentRoot "C:/xampp/htdocs/maindomain/" to my apache httpd.conf, which will keep my htdocs clean. This won't have any implications on the system, right? –  SunnyRed Nov 22 '12 at 13:08
I wouldn’t put website files into the XAMPP directory. Makes upgrades and backups too difficult. Keep software and data separately. I am running XAMPP in E:\xampp, and WordPress in E:\wordpress.latest.final. Uploads are in F:\sites\uploads.wp\mu, plugins and themes in F:\Dropbox\wp-content. F: is for data, E: for software. –  toscho Nov 22 '12 at 14:28