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:
- Open a text editor with administrative privileges.
- On Windows, right-click Notepad and select Run as administrator.
- On Linux, open an editor with sudo.
- 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.
- On Windows, the hosts file is found in C:\WINDOWS\system32\drivers\etc
- 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.