How do I set up same site to use two different subdomains? I have to set a the same site on two different subdomains. I have the two subdomains included in the config.php. But that doesn't seem to work. Is there any other configurations I need to set?

// internal
'sub1.website.com' =&gt; array(
    'overridePhpSessionLocation' =&gt; true,
    'environmentVariables' =&gt; array(
        'siteUrl' =&gt; 'https://sub1.website.com/',
        'fileSystemPath' =&gt; '/var/www/html/'
    )
),
// external
'sub2.website.com' =&gt; array(
    'overridePhpSessionLocation' =&gt; true,
    'environmentVariables' =&gt; array(
        'siteUrl' =&gt; 'https://sub2.website.com/',
        'fileSystemPath' =&gt; '/var/www/html/'
    )
),
Are these two sites exactly the same, and this is just an alias?  If so, you don't need any configuration, just point the DNS to the right place, and it'll work.

If not, can you provide more details on what you're trying to achieve?