ASP .NET Core 2.0 Change “localhost” to a “hostname”

点点圈 提交于 2019-12-04 16:24:17

After I run visual studio as admin, everything worked!

Win+R to open the Run dialog.and type "drivers"

now you can see "etc" folder,inside that there is a file named as "hosts".open that and change local host name to your domain name. http://www.c-sharpcorner.com/UploadFile/8d44fb/how-to-access-the-site-using-domain-name-instead-of-localhos/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!