I have multi-site set up on a locally hosted WordPress installation using IIS.
To get it to work on my local setup, I changed my local site to a fake domain (“localhost.com:80”), and edited my hosts file like so:
Now I can create sub-domains, but I can’t view them. Going to the new site or trying to access the its dashboard gives me a 404 error.
I tried updating my hosts file with my sub-domains like so:
127.0.0.1 localhost.com 127.0.0.1 sub1.localhost.com 127.0.0.1 sub2.localhost.com
But that just gives me the IIS placeholder page instead.
I’m at a loss as to how I can get this sub-domain thing to work. Switching to sub-folders would be an absolute last resort for me.
- The topic ‘Subdomains on locally hosted multisite?’ is closed to new replies.