Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

3. Configuring the Hosts File

3. Configuring the Hosts File

To access the Elastic Path demo store, configure your local hosts file by following the instructions below:

  1. Open a text editor with administrative privileges.
    • On Windows, right-click Notepad and select Run as administrator.
    • On Linux, open an editor with sudo.
  2. In your text editor, open the hosts file.
    • On Windows, the hosts file is found in C:\WINDOWS\system32\drivers\etc
      Note: Host File Missing

      If you don't see the hosts file in C:\WINDOWS\system32\drivers\etc, change the Open dialog's file filter to All Files.

    • On Linux, the hosts file is found in the /etc directory.
  3. Add the following line to the end of your hosts file:
    127.0.0.1   localhost
    
    Make sure you comment out any lines that conflict with the demo store's IP address mapping.