Get A Quote

VVVeb website with multiple domains

VVVeb has no frontend support to create website that has multiple domains pointing at it (other than the default website which is just a catch-all for traffic). This functionality can though be implemented by editing the file sites.php in config folder. Each domain is specified there and you can add your own records too. 

Below is an example of two domains (roytakanen.fi & roy.protolla.fi) pointing at the same site. I have marked which records have to be changed.

 <?php
 return array (
  'roy protokolla fi' => 
  array (
    'name' => 'Roy',
    'host' => 'roy.protokolla.fi',
    'path' => '',
    'theme' => 'drew',
    'template' => 
    array (
      0 => 'index.html',
    ),
    'key' => 'roy protokolla fi',
    'site_id' => 1,
    'state' => 'live',
  ),
  'roytakanen fi' =>  // change this to be other domain, replace dots with spaces
  array (
    'name' => 'Roy',
    'host' => 'roytakanen.fi', // write the other domain also here
    'path' => '',
    'theme' => 'drew',
    'template' => 
    array (
      0 => 'index.html',
    ),
    'key' => 'roy protokolla fi', // this should match the first array item and should not be changed
    'site_id' => 1,
    'state' => 'live',
  ),
);

This though causes some issues as seen below.