WordPress.org

Ready to get started?Download WordPress

Forums

domain mapping on localhost (3 posts)

  1. abhishek kuashik
    Member
    Posted 2 years ago #

    i am trying use wodrpress multisite on localhost , then i tried to to my sub-domains with wordpress mapping plugin , but its not working ,
    my main page is example.com ,,,
    and my subdomain is test1.example.com
    can we use domain mapping on localhost

  2. abhishek kuashik
    Member
    Posted 2 years ago #

    GUYS please tell me it can be done or not

  3. Yes you can use domain mapping on localhost but the trick is to fake out the dns by adding each domain name to your hosts file.

    127.0.0.1 domain-name.com
    127.0.0.1 another-domain.com

Topic Closed

This topic has been closed to new replies.

About this Topic