Apps. is Prepended on the LMS Host When I Sign In

My lms host in to config.yml is

image

but when I sign in apps. is prepended on the url.

image

How can I remove the apps. from the url?

You help is appreciated.
Thanks in advance!

Newer versions of Open edX have the UI split into two parts - the “legacy UI” on edx.example.com and the “MFE UI” on apps.edx.example.com. Though it could be possible to run both parts of the UI on the same domain with a lot of careful server configuration changes, it’s not really how it’s been designed.

What you can do is run the various parts of the new UI on their own subdomains, like https://learner-dashboard.edx.example.com instead of https://apps.edx.example.com/learner-dashboard/ . This is what edx.org itself does.