Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to create a copy of a hosted os commerce site in its subdomain

Vishal Kumar

Recommended Posts

I am new to OS Commerce..i know basic php programming.. I've recently started working on making some modifications in a ecommerce store

My site is http://www.somersetcustomtailor.com

I copied this entire site to dev.somersetcustomtailor.com and it created a separate folder named /dev ... that contains the new project. I changed the configure.php to point to this new URL


But it's strange... On making changes to files inside this subdomain...the changes are reflected in the main site... that I don't want to disturb. Please suggest.

Link to comment
Share on other sites

Files rather than Database entries are being unexpectedly changed? How did you set up this subdomain -- you used your host's control panel to create a subdomain 'dev' with a directory /dev? Simply creating /dev is insufficient. Are you downloading to a PC to edit, via FTP? Could you possibly be editing the main site's files because you're FTPing from and to the main site and not the subdomain?


By the way, there are two different configure.php files (store side and admin side). Make sure you got both of them.

Link to comment
Share on other sites

Yes... I changed both the config files and have created the subdomain using File Manager. I have sharing the same db for both apps. But the pages that admin can create using Backend have to do with database..........


If I am changing in dev.somersetcustomtailor.com/adminuser ......... modifying a page.the page in the somersetcustomtailor.com is also reflecting that........

Link to comment
Share on other sites

The same problem is there in my local installation in which I simply copied the entire project a new folder in xamp ... and on clicking on FAQ link, it automatically redirects to the original page .....with error


The requested URL was not found on this server. The link on the
seems to be wrong or outdated. Please inform the author of
about the error.

If you think this is a server error, please contact the


Can anyone help plz ?
Link to comment
Share on other sites

Hi adi.......


Actually both the projects are sharing the same database ... and whenever we create a new page from the admin backend ... it gets saved in cms table ...probably.

So both projects are fetching from the same db. Is this the case ?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...