loading table of contents...

3.3.4.2. Host Mappings

Host mappings are required to use CoreMedia Elastic Social. The CoreMedia documentation provides further information about concepts and technologies of Elastic Social. CoreMedia Elastic Social's multi-tenancy concept is bound to the domain of the particular application.

By default, the Vagrant setup uses XIP IO, a free generic DNS service, provided by 37Signals, the founders of Ruby on Rails. By encoding the IP of the box within the URLs, XIP IO maps every request to the encoded IP, relieving you from modifying your etc/host mapping. When you start the box with vagrant up, you will get a list of all the URIs. The format is:

      <name>.192.168.252.100.xip.io

      for example

      corporate.19.168.252.100.xip.io for the Live CAE with the corporate site

If you don't want to use XIP IO, you need to adapt the configuration in the Vagrant file and add IP mappings to fake the two domains corporate and helios:

  • On Linux add them to /etc/hosts.

  • On Windows add them to C:\Windows\System32\drivers\etc\hosts.

192.168.252.100    blueprint-box
192.168.252.100    studio-helios.blueprint-box
192.168.252.100    studio-corporate.blueprint-box
192.168.252.100    preview-helios.blueprint-box
192.168.252.100    preview-corporate.blueprint-box
192.168.252.100    editor.blueprint-box
192.168.252.100    webdav.blueprint-box
192.168.252.100    helios.blueprint-box corporate.blueprint-box
192.168.252.100    shop-helios.blueprint-box
192.168.252.100    shop-preview-helios.blueprint-box
192.168.252.100    shop-preview-production-helios.blueprint.box

Example 3.1. host entries