Knowledge Base

Magento - where, what, how

Accessing Magento

Once you have installed Magento using the Deploy4Me service you can work with it using the URL from the passwords. Commonly the URL will be:

If the cloud hosting didn't provide a public DNS name then you can use IP address to access your server and check it:


If you have defined the custom DNS alias during the deployment, then use it like:

Note that DNS record should point to the server public IP address. To prevent problems with DNS you may use Elastic IP, assign it to your instance and point your DNS record to it.

Where Magento is installed?

Deploy4Me would set Magento home to


Magento configuration is located at


Magento is installed on Nginx web server. The configuration of Nginx server can be found at

$(which nginx)/sites-available/magento.conf

How to stop/start/restart Magento?

Nginx is deployed as a service, so use one of the Linux commands:

service nginx stop
service nginx start
service nginx restart

Magento is not available after restart of the server on AWS. What to do?

Commonly the problem not appears but sometimes Amazon Web Services EC2 do not preserve the public DNS names for servers after restart. This means that you would rather reconfigure Nginx to use a new DNS name generated by AWS or configure a permanent DNS name for your server using Elastic IP address. To configure a permanent DNS name here is the step by step instruction:

  1. Change the base URL in Magento configuration. The easiest option is to temporary resolve old DNS to new IP and change a base URL in Magento admin. For Windows in file

put the new IP, old hostname and save. You may need to start Notepad as Administrator first:

# (New Ip) (Old hostname)  #for example
  1. Now you can open your old hostname:
  1. Now you can change the URL on page System -> Configuration -> General -> Web
  2. Allocate an Elastic IP via AWS EC2 console
  3. Associate your address with the instance using context menu on Elastic IP
  4. Configure your DNS to point on that public IP address with a new DNS record. You would possibly wish to create a new A record in the DNS configuration.
  5. If you provided the DNS name before deployment then skip this step, else connect to the server and make sure that in Nginx configuration under
$(which nginx)/sites-available/magento.conf

you have a valid name of a DNS record. Change it (for example using vim) and reload the Nginx

service nginx restart
  1. Make sure your Magento is started and access the URL in a browser