If it shows you the IIS of the server, then it is well configured because you access the server, however to see the site correctly you must work on your server:
Now let all the traffic that enters your URL go directly to the route where you have your project, for this you need the following:
1-Right click on the 'Sites' folder and select 'Add New Site'.
2-Give the site a name - I usually give it the domain name, although you can choose the one you want, for example: mytestsite.com.
3. Next, you will have to assign the site a physical path to the folder on the computer in order to host the files on the site. In general, the folder is always saved in the InetPub file under the wwwroot directory, that is: C: \ inetpub \ wwwroot \ mytestsite.com.
In this way I can keep all my sites hosted in a single folder under the domain name of the site.
4-Finally, you will have to assign a host name. This is the part that can confuse people. Host names are those that IIS uses to link incoming orders to the actual physical files on the site. For example, if you make a mysite.com request, as soon as the site arrives at the server, it passes to the Host Name, which IIS uses to find the appropriate files on the server. You must have a hostname configured for mysite.com and also for www.mytestsite.com. It is a frequent forgetting and then people wonder why the www version of the site does not work. You should also keep in mind that host names are unique, you can not have two sites with the same host names on a single server.
5- After having configured these parameters, you will be ready to start the Site and select OK. Below you will see a screenshot that illustrates my own configuration:
Reference: link