# Dynamic Add Site in tutor

**URL:** <https://discuss.openedx.org/t/dynamic-add-site-in-tutor/12519>\
**Category:** Tutor Help\
**Tags:** how-to, tutor, quince\
**Created:** [March 14, 2024, 11:40am UTC](https://discuss.openedx.org/t/dynamic-add-site-in-tutor/12519 "2024-03-14T11:40:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rediris](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/rediris/32/2097_2.png) [@rediris](https://discuss.openedx.org/u/rediris)\
**Post date:** [March 14, 2024, 3:56pm UTC](https://discuss.openedx.org/t/dynamic-add-site-in-tutor/12519/2 "2024-03-14T15:56:46Z")

</div>

Hi @vivek,  
This question has already been asked and responded to here:

> [@Adding ALLOW\_CORS\_HEADER plugin in tutor](https://discuss.openedx.org/t/adding-allow-cors-header-plugin-in-tutor/10577/2):
>
> @Xiao_Long I’ve had success with this by adding a tutor plugin. The only way I was able to get this to work is to have the custom site be the top level domain, and the LMS/CMS exist at a subdomain. The reason for this is the fact that a top level domain can access a subdomain’s cookies, but not the other way around. In my case, I have enabled the marketing site flag. I’ve set the following in my config.yml: FEATURES: - ENABLE\_MKTG\_SITE: true MARKETING\_SITE\_BASE\_URL: your.domain MARKETING\_SITE\_…

Hope that helps!

---

_[View the full topic](https://discuss.openedx.org/t/dynamic-add-site-in-tutor/12519)._
