stephen-makrogianni
3/27/2019 - 3:22 AM

Subsites

Technique to access subsites

  • Open hosts file
  • Add new record with sites ip and hostname
  • Repeat for all subsites eg

160.67.49.11 nztaintranet.v
160.67.49.11 nztaway.v
160.67.49.11 nztaregulator.v

  • Locate the SubsiteDomain table in the database
  • Duplicate each of the records and change the Domain field to the hostname of the subsite. Also change the SubsiteID field to the ID of the Subsite record

Add the new domains to the Vagrant file
config.hostsupdater.aliases = ["bikeready.test", "educationportal.test", "saferjourneys.test"]