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 D:\xampp\apache\conf\extra\httpd-vhosts.conf NameVirtualHost *:8080 <VirtualHost *:8080> DocumentRoot "D:/xampp/htdocs" ServerName localhost </VirtualHost> #this is a working wordpress normal blog <VirtualHost *:8080> DocumentRoot "D:/xampp/htdocs/ki/abce/wordpress" ServerName abce.localhost <Directory "D:/xampp/htdocs/ki/abce/wordpress"> Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost> #this below is how network subdomain blog that would work if not for 8080 problem <VirtualHost *:8080> DocumentRoot "D:/xampp/htdocs/alllive/wordpress" ServerAlias *.wp.dev ServerName wp.dev <Directory "D:/xampp/htdocs/alllive/wordpress"> Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost>
Thank you in Advance!