locked
Hosting problem in somee.com RRS feed

  • Question

  • User-1854646908 posted

    Hi guys,

    I uploaded ASP.NET MVC Website on somee.com, which is free ASP.NET Hosting, 

    but after i finish upload database and all website files, when i try to go to my website which is for example:  htttp://domainname.com ,  it redirected to https://domainname.com

    and get the welll known page:

    This site can’t be reached

    i do not know why it redirected from http to https

    Sunday, July 14, 2019 3:01 AM

All replies

  • User409696431 posted

    That's a question for your host, assuming you didn't put redirect rules in your web.config to go to https.

    Sunday, July 14, 2019 4:38 AM
  • User-821857111 posted

    If this is a .NET Core application, chances are that it has been configured to use HTTPS, as Kathy alluded to. The configuration is in your Startup file. Remove app.UseHsts(); and app.UseHttpsRedirection(); from the Configure method. Then republish.

    Sunday, July 14, 2019 7:03 AM