2

I have site on IIS in Default Web Site. I want to see my website when I write in browser example.com but now I see my website on address

https://example.com/SiteName/Login

I did what it says here: Redirect IIS's root to application root

But now when I write

https://example.com

I see in browser redirection to

https://example.com/SiteName/#

and next

https://example.com/SiteName/Login

I would like the name of the SiteName not to appear after entering the address. So when I write

https://example.com

I want to see

https://example.com/Login

How can I do that?

4
  • What is the directory structure for the files of your site like? Dec 20, 2021 at 19:07
  • Default web site -> MyApplication for Frontend -> react files and Default web site -> MyApplication for backend -> .net5 files
    – blane
    Dec 20, 2021 at 19:22
  • I'am trying to use this link but not works for me. Redirection works but I have "404 - File or directory not found." on example.com/login
    – blane
    Dec 20, 2021 at 19:26
  • Now I dont know how to share the application under the main link?
    – blane
    Dec 20, 2021 at 19:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.