Why my wordpress site URL does not begin with my domain?

I’ve had similar issues in the past, hosting two different sites with two domains on one host. Here are the two things that have helped me:

Update WordPress Settings

In the WordPress Admin Dashboard, go to Settings > General.

You’ll notice that there’s the WordPress Address (URL) and the Site Address (URL). These control where WordPress views the files and the address that the site is viewed at. Double check these. If they are not what you want, then try changing them.

Update Host Settings

Sometimes, to have two different domains on one host you’ll have to configure an “Add-on” domain with your host. This usually involves specifying the folder for the second domain, and the problem should be fixed.

If that doesn’t work

Here’s the link to WordPress.org on what they recommend. Their solution involves changing the configuration files.

https://wordpress.org/support/article/giving-wordpress-its-own-directory/