Publishing with IIS: Server DNS could not be found

和自甴很熟 提交于 2019-12-14 03:21:53

问题


I'm trying to publish my project using IIS

I was able to publish it via Visual Studio:

La aplicación web se publicó correctamente file:///D:/www/plataformafantasy.com

========== Compilar: 1 correctos, 0 incorrectos, 0 actualizados, 0 omitidos ==========
========== Publicación: 1 procesados, 0 no procesados, 0 omitidos ==========

But when I try to access the page: http://www.plataformafantasy.com/

I get the error:

The DNS address of the www.plataformafantasy.com server could not be found.

I basically followed this: https://www.youtube.com/watch?v=IwbKquNBNgQ

And to counter this error I edited the hosts file, following this answer:

server DNS address could not be found - iis

127.0.0.1 plataformafantasy.com
0.0.0.1 mssplus.mcafee.com (This was already in the file)

Still not working.

Also, looking into my IIS I noticed that only one application is running:

I'm very new to this, I haven't configured anything besides the IIS. What could I be missing?

Thanks in advance for any answer.

Update: Extra info

Connect as:

来源:https://stackoverflow.com/questions/46029035/publishing-with-iis-server-dns-could-not-be-found

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