Site installed on localhost but redirects to Live Site
Hi All,
We've received a 'packaged' up site from our hosting company to bring the site 'in house'.
Ive installed SQL Express & IIS locally. Ive imported the .bacpac file to SQL and copied the site into the wwwroot folder.
When I first went to 'localhost' it redirected to the Live Site. So on some advice I commented out the 'rewrite /rewrite' tags in web.config, cleared the browser cache and even restarted the server. But its still redirecting to Live. Is there anywhere else in the site that could be causing the redirect?
Site installed on localhost but redirects to Live Site
Hi All,
We've received a 'packaged' up site from our hosting company to bring the site 'in house'.
Ive installed SQL Express & IIS locally. Ive imported the .bacpac file to SQL and copied the site into the wwwroot folder.
When I first went to 'localhost' it redirected to the Live Site. So on some advice I commented out the 'rewrite /rewrite' tags in web.config, cleared the browser cache and even restarted the server. But its still redirecting to Live. Is there anywhere else in the site that could be causing the redirect?
Any thoughts most welcome.
Thanks!
Heya.
Try to check the culture and hostnames settings in the backoffice.
You can also view them in the UmbracoDomain DB table :)
Hi Lindow,
Thanks for the reply. Looking at the UmbracoDomain its emtpy so no luck there....
Ive got a login to the live back office eg, livesite/ummbraco - are you able to point in the direction of where I should be looking?
Thanks again
I would try to search for the URL it redirects to in the codebase.
It could be hardcoded somewhere.
is working on a reply...