• Resolved omnilord

    (@omnilord)


    I need to create a proof-of-concept that this plugin will work before I can put it on a server and get approval for the cost of using real domains.

    What I have setup is pointed artificial domains in hosts file and all point back to 127.0.0.1. All the routing for each domain works perfect, so I installed wordpress on top, each domain rendered the index page, so I installed the Multiple Domain Mapping on Single Site plugin and setup a page for each of the demo domains mapped in my hosts file.

    At this point, all the non-primary domains do is redirect to the primary domain’s index. Does this plugin not work in a development sandbox using the hosts file to spoof domains?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter omnilord

    (@omnilord)

    Okay, so just some follow-up information I just discovered.

    Say the primary domain is localhost, and the subsequent hosts mapped domains are localhost2, localhost3, etc. localhost2 is mapped in the plugin configuration to /domainpage2, and localhost3 is configured to /domainpage3. Both of these pages are visitable at https://localhost:8080/domainpage2 and https://localhost:8080/domainpage3, respectively.

    If I visit https://localhost2:8080, I will be redirected to https://localhost:8080. It doesn’t show domainpage2 content. The same happens if I visit https://localhost3:8080.

    Here is what I just discovered: if I visit https:///localhost2:8080/domainpage2 it does not redirect. Not sure what’s going on. Does this look like a familiar misconfiguration I can fix, or is it a defect? The odder thing is, visiting https://localhost2:8080/domainpage3 will render fine, as well, which is unexpected.

    • This reply was modified 8 years ago by omnilord.
    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    unfortunately i did not test it in such an environment so far and i am pretty busy at the moment. usually i do testing with subdomains – which will not cost you anything – on the real server.
    this will tell you if it will work on this server as expected.

    hope this is a good solution for you.

    matt

    Plugin Author matthias.wagner

    (@matthiaswagner)

    any updates on this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Local Dev Sandbox Redirect issue’ is closed to new replies.