Help  ›  1. Getting started  ›  Installation and updates  ›  How do I set up a local test environment in Magento?

How do I set up a local test environment in Magento?

Many users like to have the ability to create a local test store in Magento where they can play around with modifications related to Ultimento and all the various features of Magento itself.

Setting up a local test environment is easy if you use the following steps:

  1. Depending on your OS, add a host entry so that magento.local points to (have Magento running on port 80). This way, you can access your local installation with http://magento.local
  2. Make sure to change your Unsecure “Base URL” to http://magento.local/ from “System” > “Configuration”
  3. Let us know when you’re done by opening a ticket in your account so that we can add the URL to your license
  4. Afterwards, remember to revalidate your key by going to Ultimento > Settings and saving the form where you have entered your license key.


Was this helpful? 1 Star2 Stars3 Stars4 Stars5 Stars (be the first to vote)


  1. Are there more comprehensive instructions you guys have seen out there you could point me to? I have spent hours trying it two different ways.

    One was to use MAMP PRO 2.05 on a Macintosh and I tried creating a magento local server on port 8888 and then installing magento direct from the magento community website and I can get it up and running. I then have tried via reading online the best way to duplicate a running environment for dev purposes is to copy the production installation and do a SQL export of all of your data. From there copy over the file structure backup to your local magento installation and then create a new DB and import the SQL dump you did from production. Last step is to go into PHPSQL and edit the table core_config_data and make sure you point the Base URL to the name http://servername:8888 and that you make sure the database name and user name/password are correct in this file. I ether end up with a blank store front with the magento default theme and I can not seem to get the admin page to load.

    The second approach i tried was the same but instead of a local Apache installation on a Mac I tried with this another hosting company on a subdomain like The results to the approach were mostly the same.

    Any thoughts as to why this seems to be so hard to accomplish? I would really like a sandbox dev environment to play with before I make changes to a production sever, especially once they go live!

    Thanks in advance for any suggestions or guidance

    • Support says:

      Hey Skeeter,

      It sounds like you’re following all the basic steps you should to create a local test environment as well as how to replicate it back to live. Everything you’ve described is right, but it’s almost impossible to tell you what may be going wrong thats causing the problems you’re describing because there are so many possible causes. The second option you mentioned should work as well, but you may want to stick with the first approach as its a bit more simplified.

      I’m sure if you play around with it a bit more you can find what’s going on; it’ll either be an Apache configuration issue or something with the DB or Magento being properly reset.


Question? Comment? This is the place:

You can use these HTML tags: <a href="" title=""> <b> <cite> <code> <em> <strike> <strong>