WordPress installed and working correctly.
Subdomains displaying correct files and not the wordpress blog on root directory. localhost and testing domain work identically.
Installing network through testing domain rather than localhost.
Installing through differently named local domain actually gives me the option to choose either subdirs or subdoms. Whereas installing via the localhost domain forces the settings for subdirs and doesn’t give you the option to change them.
Network is installed, no blogs are added to it as yet tho, and I’m having no issues logging in and out as normal.
Added first blog to network. blog is added successfully and options are accessible through the super admin backend.
However when attempting to access the blog’s own backend or view the blog’s front page at its assigned subdomain I get an internal server error.
Scratch above. It was the Domain, Path and SiteURL settings causing the issue. The combination of the following gives me access to the directory listing of the directory mapped to the subdomain:
Domain: subdom.fakedom.kn
Path: /
Siteurl: http://subdom.fakedom.kn/
Further poking in the vhosts file resolved this and blog is now displaying on subdom.fakedom.kn and the main blog on fakedom.kn
All subdomains in the vhosts file should be mapped to the root directory of the main domain and not their own directories.
as follows:
<VirtualHost *:80>
ServerName subdom.fakedom.kn
DocumentRoot "C:/xampp/htdocs/"
#DirectoryIndex index.php
<Directory "C:/xampp/htdocs/">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
it all seems to be working correctly now and I can access the backends of each blog through a single user.
You can probably chalk this one up as being resolved. Might be worth mentioning to people that if they want to run subdomains on localhost they should set up a fake domain (subdom.fakedom.tld) rather than use subdom.localhost as I think thats where my original issue sprang from.
Thank you both for your help. 😀