如何在其他PC上访问网站(发布版本)? [英] How to access website (published version) in other PC?

查看:61
本文介绍了如何在其他PC上访问网站(发布版本)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有我网站的发布版本.我们想在没有Visual Studio的其他PC上访问它.我们要脱机访问它,因为我们没有托管网站.
那么在没有Visual Studio的情况下运行网站的最低配置是什么.运行该网站需要哪个版本的DotnetFarmework(asp.net)?
最低配置要求是什么?

在此先感谢您.

There is published version of my website. We want to access it in other PC where Visual Studio is not available.We want to access it offline we have not host the website.
So what is the minimum configuration to run the website without Visual Studio. Which version of DotnetFarmework(asp.net) require to run the website?
What is the minimum configuration require?

Thanks in advance.

推荐答案

您好朋友,请按照以下步骤在其他PC上查看您的网站...


1)在两台PC之间创建局域网(点对点)...

2)在您网站所在的任何一台PC上,安装iis服务器

3)将您的网站添加到该iis服务器上的网站列表中

4)测试该配置,如果可以,请在本地PC上浏览它,然后进行下一步

5)现在,在要访问站点的另一台PC上,键入主机PC的IP地址(例如,如果承载该站点的PC的IP为192.168.4.1,并且您的站点文件夹名称为"MySite"),则类型
http://192.168.4.1/MySite/在您的浏览器中完成..

现在您的网站就会显示在该浏览器上.
不:
不要使用VS来查看您的网站,因为它没有完整的iis服务器功能...
使用已安装的具有完整功能的iis服务器来查看您的站点..它的速度也比..
Hello friend follow this step to view your website on other PC...


1) Create a Local Area network (peer to peer) between two PC...

2) On any one PC where your website is located, install a iis server

3) add your website to a website list on that iis server

4) test that configuration and one browses it on local PC if it work then go for next step

5) now on the other PC where you want to access your site now type the ip address of host PC (like if the ip of your PC where the site is hosted is 192.168.4.1 and your site folder name is "MySite") then type
http://192.168.4.1/MySite/ in your browser its done..

now your site is displayed on that browser..

NOT:
Don''t USE VS to see your site, because its have not full featured iis server functionality...
Use a installed iis server with full functionality to view your site.. its also faster then vs..


这篇关于如何在其他PC上访问网站(发布版本)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆