Subdomain not redirecting to openedx CMS

I have recently installed the juniper version on AWS and set the domain as studio.lms.example.in and lms.example.in. Also the same is used in the config.yml, studio.yml, and lms.yml.
still, it is studio.lms.example.in is redirecting to lms, I would appreciate if any can help on this.
Thanks.,

Please configure in /edx/app/edxapp/edx-platform/lms/envs/common.py…

DCS_SESSION_COOKIE_SAMESITE = 'lax'
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True

Thanks, Himanshu for the response. it’s already set to the same configuration as mentioned.
django-session-cookie middleware
DCS_SESSION_COOKIE_SAMESITE = ‘lax’
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True

can you show what settings you have done in your lms.yml and studio.yml files