2 separate umbraco sites now publishing the same info BUT shouldn't ?
Hi there, Im new to the whole umbraco setup and i am not a
developer or web designer but have been looking after our company website which
was only built over a year now but we are no longer in contact with the company
that built it and i've had a crash course in Umbraco but its enough "for
now" to help me make changes edits etc ??
BUT now I have a strange one
and I may be missing something so im hoping that someone can help or advise.
as i said the company website
was created for us with Umbraco and works fine although i have other questions
on that but that’s another day. So we have the live site www.mydomiain.com and
what i did was a created a "test" site called www.mydomaintest.com and
copied all of the info from my original site and umbraco over to it so i could
make changes/edits etc before i touch the live website. These sites are hosted
by the same company BUT they are completely separate domains and different IP's
so there should be NO connection other that the sites have the same info (if
unedited) now this setup has been fine for the last few months about 8 months
or so and now for some reason if i edit the TEST site in Umbraco and save and
publish for some strange reason my LIVE site gets updated?? yes strange as both
sites have their own umbraco and i can 100% confirm im in the right umbraco
e.g. Live site is
www.mydomain.com/umbraco/umbraco.aspx and the test site is
www.mydomaintest.com/umbraco/umbraco.aspx
I have cleared cache and tried
different browsers and also different PC's thinking this was a local thing on
my PC but no joy, i know im not going mad altogether but its obvious the two
sites have now connected for some reason but why and how and also can i stop
this from happening as ive had to turn off the test site for now just in case
someone else edits it and the live site changes agin and i have to re-upload
the entire site just to fix it ?
hope this all makes sense and apologies
if not but look forward to hearing from you
Do you mean the same Umbraco DB ? and how can i change this or how did this happen or have i done this without even realising, although its worked fine for months this way ?
Take a look in the file called 'Web.config' (it's in the root folder of the website). There should be a line like this: <addkey="umbracoDbDSN"value="server=<server>;database=<database>;user id=<user>;password=<password>" />
If that line is the same on both machines, both sites are using/sharing the same database.
yes they are the same as i pretty much copied the entire site from one to the other but didnt think the SQL DB was connected as i dont have SQL running or even installed on the test site only on the live site ? SO assume ill have to create a new SQL DB on the test site ? although why did it work fine for months till now ?
2 separate umbraco sites now publishing the same info BUT shouldn't ?
Hi there, Im new to the whole umbraco setup and i am not a developer or web designer but have been looking after our company website which was only built over a year now but we are no longer in contact with the company that built it and i've had a crash course in Umbraco but its enough "for now" to help me make changes edits etc ??
BUT now I have a strange one and I may be missing something so im hoping that someone can help or advise.
as i said the company website was created for us with Umbraco and works fine although i have other questions on that but that’s another day. So we have the live site www.mydomiain.com and what i did was a created a "test" site called www.mydomaintest.com and copied all of the info from my original site and umbraco over to it so i could make changes/edits etc before i touch the live website. These sites are hosted by the same company BUT they are completely separate domains and different IP's so there should be NO connection other that the sites have the same info (if unedited) now this setup has been fine for the last few months about 8 months or so and now for some reason if i edit the TEST site in Umbraco and save and publish for some strange reason my LIVE site gets updated?? yes strange as both sites have their own umbraco and i can 100% confirm im in the right umbraco
e.g. Live site is www.mydomain.com/umbraco/umbraco.aspx and the test site is www.mydomaintest.com/umbraco/umbraco.aspx
I have cleared cache and tried different browsers and also different PC's thinking this was a local thing on my PC but no joy, i know im not going mad altogether but its obvious the two sites have now connected for some reason but why and how and also can i stop this from happening as ive had to turn off the test site for now just in case someone else edits it and the live site changes agin and i have to re-upload the entire site just to fix it ?
hope this all makes sense and apologies if not but look forward to hearing from you
many thanks
Mark
Sounds like you're sharing the same database?
Hi Kipusoep, thanks for your quick reply ...
Do you mean the same Umbraco DB ? and how can i change this or how did this happen or have i done this without even realising, although its worked fine for months this way ?
Sorry so many questions :)
thanks
Mark
Take a look in the file called 'Web.config' (it's in the root folder of the website).
There should be a line like this: <add key="umbracoDbDSN" value="server=<server>;database=<database>;user id=<user>;password=<password>" />
If that line is the same on both machines, both sites are using/sharing the same database.
yes they are the same as i pretty much copied the entire site from one to the other but didnt think the SQL DB was connected as i dont have SQL running or even installed on the test site only on the live site ? SO assume ill have to create a new SQL DB on the test site ? although why did it work fine for months till now ?
is working on a reply...