MagentoCommerce development environment domain issue
问题 I am working on a ecommerce based on MagentoCommerce . I use 3 environments: dev (on my local machine), staging and production (both on my dedicated server). The problem is that when I want to switch from local to staging, I have to edit my hosts file to point the domain used by Magento to my server's IP. However, this is time consuming and I was wondering what other magento developers out there were using as a strategy to not always have to change the hosts file when switching from an