I currently have Windows 7 , 64 bit on which I am running an IIS on localhost:80 and I installed XAMPP on localhost:8080. I have 15 individual wordpress sites but now i need a subdomain multisite wordpress.
I created wp.dev:8080 in the hosts file for multisite, and correctly amended the apache virtual file. All worked until I added the define('WP_ALLOW_MULTISITE', true);
to the config file. When I clicked on the new Network menu option in wordpress, I got an error:
ERROR: You cannot install a network of sites with your server address.
You cannot use port numbers such as :8080.
Now here is the problem. localhost is mapped to 127.0.0.1 on port 80 for IIS. And Apache is taking all of localhost:8080. can I somehow split the localhost:80 traffic by assigning wp.dev to be the only :80 to go to Apache and the remainder to continue going to IIS. How would I define that since in Apache I already have *:8080 defined? Please help, my files are below:
Hosts file on c/windows/system32/drivers/etc/hosts
this is root of iis if i dont specify port (:80) and if i specify port (:8080) go to xampp
127.0.0.1 localhost
these below are the :8080 individual wordpress on xampp
127.0.0.1 sb.localhost tw.localhost ups.localhost vet.localhost box.localhost ea.localhost
multisite below
127.0.0.1 wp.dev
This is my Apache config file in D:xamppapacheconfextrahttpd-vhosts.conf
NameVirtualHost *:8080
DocumentRoot “D:/xampp/htdocs”
ServerName localhost
This is a working wordpress normal blog
DocumentRoot “D:/xampp/htdocs/ki/abce/wordpress”
ServerName abce.localhostOptions Indexes FollowSymLinks ExecCGI Includes
Order allow,deny
Allow from all
This below is how network subdomain blog that would work if not for 8080 problem
DocumentRoot “D:/xampp/htdocs/alllive/wordpress”
ServerAlias *.wp.dev
ServerName wp.devOptions Indexes FollowSymLinks ExecCGI Includes
Order allow,deny
Allow from all
Thank you in Advance!
Ok, I gave up and moved to port 80, though i think what @Boultge suggest (the link) would have probably done it, but I read it too late.
Here are the files tho that are letting me run XAMPP WordPress MU sub-domain Multisite on localhost as wp.dev with 20 additional WordPress individual sites. I shortened it because i have 8 sites per line and both my wpmu and regular wordpress sites all look the same, i just have to be careful not to pick a name for a new multisite domain that i am already using for the regular wordpress
Here is the
c:/windows/system32/drivers/etc/hosts
In
httpd.conf
file located inxampp/apache/conf
I have (all else left as is):In
httpd-vhosts.conf
inxampp/apache/conf/extra
:The rest of them above are all the same, each one a completely independent wordpress install.
At the very end of
httpd-vhosts.conf
comes multisite domains below:No other directive is activated besides what’s here in the httpd-vhosts. With this sub domain wordpress multisite on xampp works fine though on port 80.