statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
30 stars 1 forks source link

Add site dedicated to the control panel #1114

Open lwekuiper opened 5 months ago

lwekuiper commented 5 months ago

Hi there, it would be nice to be able to add a site dedicated to running the control panel:

'sites' => [
    'cms' => [
        'url' => 'cms.example.com',
        'cp' => 'true'
    ],
    'site_one' => [
        'url' => 'www.siteone.com',
        'cp' => 'false'
    ],
    'site_two' => [
        'url' => 'www.sitetwo.com',
        'cp' => 'false'
    ],
]

I tried running the control panel on a dedicated domain (cms.example.com) which pushes changes through GIT and auto deploy, but there are some caveats, like Live Preview and Static Cache Invalidation not working and content updates taking quite long.