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
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.
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!?
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
Hi Mike - how did you get on?
Change the values inside umbracoDomains sql table or add myproductionsite.com to your host file under C:\Windows\System32\drivers\etc
is working on a reply...