How to configure domain name in OJS

Describe the issue or problem
Please tell us what happens and what you expected to happen.
I have install OJS on Winsows 11, and OJS is working well woring with xampp server, I assigned the local IP to this machine. Now I want ot shift to subdoman to this. I tested the other site is working well on this server, but OJS not publishing on browser and showing the error “400 Bad Request”.
Your are request to kinldy suggest me the how can I configure the steps.
Thanks & Regards
Steps I took leading up to the issue
For example:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

What application are you using?
For example, OJS 3.3.0-4

Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.