Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael 125 posts 409 karma points
    Apr 11, 2012 @ 10:47
    Michael
    0

    Moving Umbraco 4.7.1.1 production site to local machine problem.

    I've tried to move my production site to my local machine. (copy umbraco folder + make database backup + create local site in IIS) But I'm having some problem.

     

    When I try to use my site (mysite.local) I've redirected to myproductionsite.com

    Can you help me with this!?

  • Neil Tootell 73 posts 118 karma points
    Apr 13, 2012 @ 18:29
    Neil Tootell
    0

    Hi Mike,

    I'd start by checking your network DNS server - you might be redirecting based on a network rule.

    Secondly I'd check your hosts file in "C:\Windows\System32\drivers\etc" to make sure the only rule you have in there is for your local URL of the site you're running.

    Thirdly, check your local web.config - you may have CustomErrors set to redirect to a fully qualified URL - therefore punting you off to a different site, in this case it's your live site. The same goes for any 404's you have set up.

     

    Neil

  • Neil Tootell 73 posts 118 karma points
    Apr 18, 2012 @ 14:31
    Neil Tootell
    0

    Hi Mike - how did you get on?

  • Stefan Karlsson 14 posts 64 karma points
    Jan 28, 2014 @ 13:36
    Stefan Karlsson
    0

    Change the values inside umbracoDomains sql table or add myproductionsite.com to your host file under C:\Windows\System32\drivers\etc

Please Sign in or register to post replies

Write your reply to:

Draft