After deleting the existing site “example.com” and creating a new site with correct name from the sites menu in django I have been encountering this studio server error. LMS works fine.
could you please provide the logs with this error from Studio? You can find the related logs on your instance under
The default site id is 1 and AFAIK that cannot be changed, so in case you accidentally (or otherwise) delete the first site, you’ll need to manually create another one with the same ID using the Django shell or directly in the database.