如何托管Asp.net网站仅限网络 [英] How to Host Asp.net website For network only

查看:79
本文介绍了如何托管Asp.net网站仅限网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,您好b / b
我为一家公司创建了一个网站。但是他们只想在网络上访问这个网站。

我从未托管网站。 plz引导我把它托管在他们的网络服务器上。

解决方案

你好b $ b你公司有服务器机吗?如果是的话,只需发布​​你的网站并放入服务器机器(在C:\inetpub \ www.root内)并从你的服务器机器配置web.config文件的正确数据库连接,在运行中键入inetmgr,它打开iis windows,在你扩展服务器名称,扩展网站和展开默认网站,在你看到你的网站文件夹,只需右键单击并转换为应用程序,然后给该网站文件夹的权限。然后右键单击您的网站在iis中,单击浏览器它将在浏览器中打开,其url为localhost / websitname / login.aspx,只需删除localhost并添加你的服务器机器ip地址并在你的网络中使用(http://192.168.0.1/websitname/login.aspx)



您可以尝试以下链接



http://msdn.microsoft.com/en-us/library/vstudio/20yh9f1b(v = VS.100)的.aspx [ ^ ]



localhost / websitname / login.aspx [ ^ ]



问候

Aravind


你可以将它托管在一家公司网络的主(服务器)电脑上,之后所有其他电脑都可以打开它,然后是主电脑的IP地址,这里是关于 IIS中托管网站的一些链接



IISUnderground - 用于设置Microsoft IIS的帮助网站 [ ^ ]



如何在13 Easy St中安装IIS 7并设置静态网站eps [ ^ ]





Windows 7:托管网站 - IIS7.5 [ ^ ]



配置步骤1:安装IIS和ASP.NET模块 [ ^ ]



[ ^ ]


hello sir,
i have created a website for a company. but they want to access this website on network only.
i have never ever hosted website. plz guide me to host it on their server for network.

解决方案

Hi In ur company have server machine ? if yes means ,just publish ur website and put in to server machine(inside C:\inetpub\wwwroot) and config correct database connection for web.config files from ur server machine,type inetmgr in run,it open iis windows ,in that u expand sever name,expand sites and expand Default Web site,in that u see ur website folder,just right click and convert to application,then give permissions for that website folder .And then right click ur website in iis ,click browser it will open in browser ,its url is "localhost/websitname/login.aspx",just remove localhost and add ur server machine ip address and use in ur network(http://192.168.0.1/websitname/login.aspx)

you can try following links

http://msdn.microsoft.com/en-us/library/vstudio/20yh9f1b(v=vs.100).aspx[^]

localhost/websitname/login.aspx[^]

Regards
Aravind


you can host it on main (server) pc of a network of a company after that all other computer can open it followed by IP address of main pc, Here is some links regarding hosting website in IIS

IISUnderground - A help website for setting up Microsoft IIS[^]

How to Install IIS 7 and Setup a Static Website in 13 Easy Steps[^]


Windows 7: Host a Website - IIS7.5[^]

Configuring Step 1: Install IIS and ASP.NET Modules[^]

Deploying ASP.NET Websites on IIS 7.0 [^]


这篇关于如何托管Asp.net网站仅限网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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