Title: DomainMapping Localhost ?
Last modified: August 21, 2016

---

# DomainMapping Localhost ?

 *  Resolved [daslicht](https://wordpress.org/support/users/daslicht/)
 * (@daslicht)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/)
 * Hello,
    is domain-mapping not working on localhost ?
 * I just installed the dev version and configured the Domain Mapping
    Server IP
   Address to: 127.0.0.1
 * This setting is accepted but when I try to add a Domain simply nothing happens.
 * I tried to add a local vhost like mw.mysite
 * Wont that work ? Is there a way to try out things local ?
 * [http://wordpress.org/plugins/wordpress-mu-domain-mapping/](http://wordpress.org/plugins/wordpress-mu-domain-mapping/)

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

 *  Thread Starter [daslicht](https://wordpress.org/support/users/daslicht/)
 * (@daslicht)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208113)
 * which Site ID do I have to enter , please?
    see my settings: [here](http://imgur.com/a/57N5p)
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208179)
 * You cannot map a domain to the main site (localhost or otherwise).
 * > which Site ID do I have to enter , please?
 * The ID of the site you want the domain map to be associated with. You can see
   the site/blog ids in the sites listing when you hover over the site action links.
 *  Thread Starter [daslicht](https://wordpress.org/support/users/daslicht/)
 * (@daslicht)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208194)
 * When I roll over a site in my sites listing I get :
    [http://i.imgur.com/MQ4oWLv.png](http://i.imgur.com/MQ4oWLv.png)
 * Is that the wrong list ?
 * > You cannot map a domain to the main site (localhost or otherwise).
 * /ansolas is not my main localhost domain.
 * Anyways I cant add _any_ in that mapping :/
 *  Thread Starter [daslicht](https://wordpress.org/support/users/daslicht/)
 * (@daslicht)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208221)
 * Ok I figured out wherer the ID is shown:
 * But when I add my local domain wp.ansolas:
 * > [View post on imgur.com](https://imgur.com/lMjEPdm)
 * I get:
 * > [View post on imgur.com](https://imgur.com/Na3M1pU)
 * Despite that Error, the domain is now listed! , but I get a redirect loop.
 * Thank you very much for taking time!
 *  Thread Starter [daslicht](https://wordpress.org/support/users/daslicht/)
 * (@daslicht)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208222)
 * **[SOLVED]**
    Ticking the domain as Primary solved the Loop!

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

The topic ‘DomainMapping Localhost ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-domain-mapping.svg)
 * [WordPress MU Domain Mapping](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-domain-mapping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [daslicht](https://wordpress.org/support/users/daslicht/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/domainmapping-localhost/#post-4208222)
 * Status: resolved