Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to setup magento enterprise edition for my site for that i want to go for two environments like one is development& testing environment and another one is live site. But i have only one server hosting with rackspace. Is there any possibility to separate two different environments even i change something in testing that should not affect live site.

share|improve this question
up vote 1 down vote accepted

Contact Magento to make sure. However, since it runs on Apache and MySQL, you could probably do a second installation to a different Apache site (or even different httpd instance) and use a second MySQL database.

Or you could install your test instance on a home machine, if you're the only one who will be doing testing.

share|improve this answer
This should work. Just install prod instance to the prod documentroot directory and the test instance to the test documentroot (create separate virtual hosts) and then use two different dB's. Now if Magento includes it's own apache/mysql bundle, just install to different locations and use different ports. – John Sep 7 '10 at 14:03
yeah i already made separate subdomain for testing purpose but i dont know how to create two different instances on apache? – Ela Sep 8 '10 at 9:15
actually i and my client wants to test and some time my testers need to test. so it should be in the live server but without causing problem – Ela Sep 8 '10 at 9:16

Host your development environment in a virtual machine on the same server. That way, you can allocate specific resource limits to the virtual machine and changes won't impact the live site as it's a completely separate instance. VMWare server and Virtualbox are free solutions to do this.

share|improve this answer
That can be a lot of overhead, so it may not be a good solution. Instead of running 2 databases in one MySQL instance, you're now running a whole second machine with its own background processes and a second MySQL instance - not to mention the additional diskspace. Also, he says he has a hosted server - that machine may already be a VM guest; if so, getting nested VMs to work will be unsupported at best, and potentially impossible. – mfinni Sep 7 '10 at 14:37
I think better my client may need to get separate instance for testing alone. Ok thanks guys. I will try your ideas – Ela Sep 8 '10 at 9:18
Fair comment mfinni, especially the nested VM situation which I had not considered. – Shaun Dewberry Mar 4 '11 at 14:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.