How to publish my Net Core 6 website on my Windows Server 2022 and link а domain name to it?

Volk Volk 551 Reputation points
2022-10-08T09:30:26.303+00:00

HI!

How can I publish my Net Core 6 website on my Windows Server 2022 and link а domain name to it?

Does anyone have links to an approximate sequence of actions? I raised IIS on Windows Server 2012 R2 a long time ago, but then I had Apache HTTP Server there.

Now I have Windows Server 2022 Standard running and there is nothing except MsSQL. There is an external IP. There is a domain name. There is a website with an admin panel and registration written in Net Core 6. How do I raise it on the server for clients and admins on https by certificate?

Thanks!

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
776 questions
Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,772 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Sreeju Nair 12,611 Reputation points
    2022-10-08T12:03:28.77+00:00
    1 person found this answer helpful.
    0 comments No comments

  2. AgaveJoe 29,776 Reputation points
    2022-10-09T17:27:22.317+00:00

    Tell me, what could be the problem and where to dig?

    I would start with Microsoft's troubleshooting documentation.

    • Check the event log.
    • Enable the stdout log

    Troubleshoot ASP.NET Core on Azure App Service and IIS

    It's possible that the code is throwing an exception. Install the ASP.NET Core SDK on the server. Start the application using the command line.

    dotnet myapp.dll  
    

    This will show any environment configuration errors in the console.

    1 person found this answer helpful.
    0 comments No comments

  3. Volk Volk 551 Reputation points
    2022-10-09T12:27:18.15+00:00

    I built the project in the IIS Express variant for port 44381. Created a temporary SSL certificate for https on the server.

    I executed the procedure:
    Current .NET Core Hosting Bundle installer (direct download)
    Run the installer on the IIS server.
    Restart the server or execute net stop was /y followed by net start w3svc in a command shell.

    I created and connected the site in the In IIS Manager on the server, uploaded the site, but all the time I get this error:

    248714-error-50030.png

    The log shows this all the time:

    #Software: Microsoft Internet Information Services 10.0  
    #Version: 1.0  
    #Date: 2022-10-09 11:34:47  
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken  
    2022-10-09 11:34:47 ::1 GET / - 44381 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/106.0.0.0+Safari/537.36+Edg/106.0.1370.37 - 500 30 574 572  
    2022-10-09 11:34:47 ::1 GET /favicon.ico - 44381 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/106.0.0.0+Safari/537.36+Edg/106.0.1370.37 https://localhost:44381/ 500 30 574 0  
    

    I tried to build the project as suggested here:
    fix-net-core-http-error-500-30-after-publish-to-app-service-from-visual-studio
    The same error, nothing has changed.

    I implemented favicon.ico correctly, but it didn't help.

    <head>  
      
        <link href="~/Images/favicon.ico" rel="shortcut icon" runat="server" type="image/x-icon"/>  
        <link href="~/Images/favicon.ico" rel="icon" runat="server" type="image/ico" />  
      
    </head>  
    

    Tell me, what could be the problem and where to dig?
    Maybe the port is wrong or it needs to be allowed or something else?

    Error 500.30 is not specific and it is unclear what is required of me.

    Thanks!

    0 comments No comments

  4. Volk Volk 551 Reputation points
    2022-10-09T18:24:35.28+00:00

    Very similar to this situation, but I don't understand what I need to enter in web.config...

    How to fix 500.30 - ASP.NET CORE app failed to start

    My web.config:

    <?xml version="1.0" encoding="utf-8"?>  
    <configuration>  
      <system.webServer>  
        <security>  
          <requestFiltering>  
      
            <requestLimits maxAllowedContentLength="30000000" maxUrl="409600" maxQueryString="204800" />  
    		    
          </requestFiltering>  
        </security>  
      </system.webServer>  
    </configuration>  
    

    I will try to make corrections and check again...

    0 comments No comments

  5. Volk Volk 551 Reputation points
    2022-10-09T20:27:24.227+00:00

    * AgaveJoe *

    I did as you advised, fixed one error related to the Downloads folder.
    Application startup exception: System.IO.DirectoryNotFoundException: C:\inetpub\wwwroot\project\Downloads\

    But now when I run the project in the console with the dotnet command Project.dll , I get this. And now some port 5000 appears. My port for the site is 44381.

    Microsoft Windows [Version 10.0.20348.1006]  
    (c) Microsoft Corporation. All rights reserved.  
    
    C:\inetpub\wwwroot\project>dotnet Project.dll  
    
    Hosting environment: Production  
    Content root path: C:\inetpub\wwwroot\project  
    Now listening on: http://localhost:5000  
    Application started. Press Ctrl+C to shut down.  
    

    And the browser says that: redirected you too many times.

    The address in the browser changes from https://site.ru:44381 on:

    https://site.ru:44381/Identity/Account/Login?ReturnUrl=%2FIdentity%2FAccount%2FLogin%3FReturnUrl%3D%252FIdentity%252FAccount%252FLogin%253FReturnUrl%253D%25252FIdentity%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FIdentity%2525252FAccount%2525252FLogin%2525253FReturnUrl%2525253D%252525252FIdentity%252525252FAccount%252525252FLogin%252525253FReturnUrl%252525253D%25252525252FIdentity%25252525252FAccount%25252525252FLogin%25252525253FReturnUrl%25252525253D%2525252525252FIdentity%2525252525252FAccount%2525252525252FLogin%2525252525253FReturnUrl%2525252525253D%252525252525252FIdentity%252525252525252FAccount%252525252525252FLogin%252525252525253FReturnUrl%252525252525253D%25252525252525252FIdentity%25252525252525252FAccount%25252525252525252FLogin%25252525252525253FReturnUrl%25252525252525253D%2525252525252525252FIdentity%2525252525252525252FAccount%2525252525252525252FLogin%2525252525252525253FReturnUrl%2525252525252525253D%252525252525252525252FIdentity%252525252525252525252FAccount%252525252525252525252FLogin%252525252525252525253FReturnUrl%252525252525252525253D%25252525252525252525252FIdentity%25252525252525252525252FAccount%25252525252525252525252FLogin%25252525252525252525253FReturnUrl%25252525252525252525253D%2525252525252525252525252FIdentity%2525252525252525252525252FAccount%2525252525252525252525252FLogin%2525252525252525252525253FReturnUrl%2525252525252525252525253D%252525252525252525252525252FIdentity%252525252525252525252525252FAccount%252525252525252525252525252FLogin%252525252525252525252525253FReturnUrl%252525252525252525252525253D%25252525252525252525252525252FIdentity%25252525252525252525252525252FAccount%25252525252525252525252525252FLogin%25252525252525252525252525253FReturnUrl%25252525252525252525252525253D%2525252525252525252525252525252FIdentity%2525252525252525252525252525252FAccount%2525252525252525252525252525252FLogin%2525252525252525252525252525253FReturnUrl%2525252525252525252525252525253D%252525252525252525252525252525252FIdentity%252525252525252525252525252525252FAccount%252525252525252525252525252525252FLogin%252525252525252525252525252525253FReturnUrl%252525252525252525252525252525253D%25252525252525252525252525252525252FIdentity%25252525252525252525252525252525252FAccount%25252525252525252525252525252525252FLogin%25252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525253D%2525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252FLogin%2525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525253D%252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525253D%25252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252F  
    

    Host Log have many errors like:

    2022-10-09 20:16:21 127.0.0.1 GET /Identity/Account/Login ReturnUrl=%2FIdentity%2FAccount%2FLogin%3FReturnUrl%3D%252FIdentity%252FAccount%252FLogin%253FReturnUrl%253D%25252FIdentity%25252FAccount%25252FLogin%25253FReturnUrl%25253D%2525252FIdentity%2525252FAccount%2525252FLogin%2525253FReturnUrl%2525253D%252525252FIdentity%252525252FAccount%252525252FLogin%252525253FReturnUrl%252525253D%25252525252FIdentity%25252525252FAccount%25252525252FLogin%25252525253FReturnUrl%25252525253D%2525252525252FIdentity%2525252525252FAccount%2525252525252FLogin%2525252525253FReturnUrl%2525252525253D%252525252525252FIdentity%252525252525252FAccount%252525252525252FLogin%252525252525253FReturnUrl%252525252525253D%25252525252525252FIdentity%25252525252525252FAccount%25252525252525252FLogin%25252525252525253FReturnUrl%25252525252525253D%2525252525252525252FIdentity%2525252525252525252FAccount%2525252525252525252FLogin%2525252525252525253FReturnUrl%2525252525252525253D%252525252525252525252FIdentity%252525252525252525252FAccount%252525252525252525252FLogin%252525252525252525253FReturnUrl%252525252525252525253D%25252525252525252525252FIdentity%25252525252525252525252FAccount%25252525252525252525252FLogin%25252525252525252525253FReturnUrl%25252525252525252525253D%2525252525252525252525252FIdentity%2525252525252525252525252FAccount%2525252525252525252525252FLogin%2525252525252525252525253FReturnUrl%2525252525252525252525253D%252525252525252525252525252FIdentity%252525252525252525252525252FAccount%252525252525252525252525252FLogin%252525252525252525252525253FReturnUrl%252525252525252525252525253D%25252525252525252525252525252FIdentity%25252525252525252525252525252FAccount%25252525252525252525252525252FLogin%25252525252525252525252525253FReturnUrl%25252525252525252525252525253D%2525252525252525252525252525252FIdentity%2525252525252525252525252525252FAccount%2525252525252525252525252525252FLogin%2525252525252525252525252525253FReturnUrl%2525252525252525252525252525253D%252525252525252525252525252525252FIdentity%252525252525252525252525252525252FAccount%252525252525252525252525252525252FLogin%252525252525252525252525252525253FReturnUrl%252525252525252525252525252525253D%25252525252525252525252525252525252FIdentity%25252525252525252525252525252525252FAccount%25252525252525252525252525252525252FLogin%25252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525253D%2525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252FLogin%2525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525253D%252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525253D%25252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252FIdentity%2525252525252525252525252525252525252525252FAccount%2525252525252525252525252525252525252525252FLogin%2525252525252525252525252525252525252525253FReturnUrl%2525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252FIdentity%252525252525252525252525252525252525252525252FAccount%252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525253FReturnUrl%252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252FIdentity%25252525252525252525252525252525252525252525252FAccount%25252525252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525252525253FReturnUrl%25252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252F 44381 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/106.0.0.0+Safari/537.36+Edg/106.0.1370.37 - 302 0 0 0  
    
    2022-10-09 20:16:21 127.0.0.1 GET /Identity/Account/Login ... 44381 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/106.0.0.0+Safari/537.36+Edg/106.0.1370.37 - 302 0 0 0  
    

    And here I did not understand the string Identity/Account/Login, because I'm just trying to go to the main page of the site where it is not necessary to log in.

    Please explain what is happening and how to fix it? The site itself starts on the server (I even see the favicon at the top in browser), but then all this happens.

    Thanks!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.