Title: Localhost Multisite setup issues
Last modified: August 30, 2016

---

# Localhost Multisite setup issues

 *  [Robert Frost](https://wordpress.org/support/users/frostr425/)
 * (@frostr425)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/localhost-multisite-setup-issues/)
 * Hi all,
 * Attempting to setup an official dev environment to mimic production. I’ve searched
   quite a bit but have the feeling I’m one of the few that use IIS. Anyway: latest
   install of wp 4.3.1 and IIS 8.5. I have updated my hosts file to have:
 * 127.0.0.1 site.domain.loc
 * When I navigate to that I get the standard IIS welcome page so then I add /wordpress
   to the end and it populates the blog. However, when I go to login as an admin
   it redirects back to localhost/wordpress/wp-admin.
 * What am I missing to have it stick with my domain from the hosts file?
 * Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/localhost-multisite-setup-issues/#post-6652995)
 * I googled on “iis virtial host”
    and got these references that look useful: `
   https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact
   =8&ved=0CBwQFjAAahUKEwir4eHx_MbIAhWKj5QKHWr9As4&url=http%3A%2F%2Fsupport.simpledns.
   com%2Fkb%2Fa82%2Fvirtual-hosting-with-iis-internet-information-services.aspx&
   usg=AFQjCNHsw8LhlGUzAd79eS8Zq6VcYjtHdA&sig2=G2k7wU15AFenK0k7Ma9bjQ&bvm=bv.105039540,
   d.dGo`
 * `https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact
   =8&ved=0CCMQFjABahUKEwir4eHx_MbIAhWKj5QKHWr9As4&url=http%3A%2F%2Fstackoverflow.
   com%2Fquestions%2F302968%2Fiis-equivalent-of-virtualhost-in-apache&usg=AFQjCNEU8pZhdutuQ6ZNQ28k-
   BiJshUBVg&sig2=svpd7kG3dpIo6z2dH7LsCw&bvm=bv.105039540,d.dGo`
 * Yes you may be one of the few people using IIS 😉
    Of course you could ask microsft
   support. Most people use a bundle such as LAMP / WAMP / MAMP / XAMP etc. One 
   comprehensive package is available at: [http://www.ampps.com/](http://www.ampps.com/)
 * My usual response to this question for apache web server is:
    [https://httpd.apache.org/docs/2.2/vhosts/](https://httpd.apache.org/docs/2.2/vhosts/)
 *  Thread Starter [Robert Frost](https://wordpress.org/support/users/frostr425/)
 * (@frostr425)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/localhost-multisite-setup-issues/#post-6653000)
 * Great thank you. I’ll dig into those links and report back. I figure as close
   as I can get to the production environment the better so we’ll see how this goes!
 *  Thread Starter [Robert Frost](https://wordpress.org/support/users/frostr425/)
 * (@frostr425)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/localhost-multisite-setup-issues/#post-6653028)
 * Ok so this whole processed acted like it should be a lot harder than it truly
   was. So what I did:
 * -Update hosts file with new “domains.”
    -Make sure you don’t have another “site”
   under Default Web Site as wordpress in IIS. I had to trick it here. Move the 
   files in explorer back into the wwwroot directory, delete the “website” wordpress
   from IIS. Restart IIS, move the files back into the wordpress folder in explorer,
   make sure the Physical Path under Basic Settings for Default Web Site in IIS 
   is still %SystemDrive%\inetpub\wwwroot\wordpress -In IIS edit the Bindings for
   the Default Website. Edit the original to be your main domain and then add your
   additional hosts. -Restart IIS -Clear browser cache and cookies -Happy dance.
 * I hope that makes sense to everyone else out there.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Localhost Multisite setup issues’ is closed to new replies.

## Tags

 * [iis](https://wordpress.org/support/topic-tag/iis/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 3 replies
 * 2 participants
 * Last reply from: [Robert Frost](https://wordpress.org/support/users/frostr425/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/localhost-multisite-setup-issues/#post-6653028)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
