how to view a site in localhost

与世无争的帅哥 提交于 2019-12-05 05:11:36

The simplest way is to add a virtual directory to your default web site within IIS. Point that virtual directory to the directory to which you installed/copied your website.

The you can either browse from IIS or type the virtual directory name (preceeded by localhost/) into your browser address bar.

If the problems is with "domains" yo do not have to buy domains. By asigning different port numbers on localhost you can add new bindings.

As I know adding binding is essential for IIS to understand which site should be opened.

For example you can assign port numbers like 80 -default- , 81,82 ... 8090...

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