How To Access Your Website Through LAN in ASP - NET - Stack Overflow
How To Access Your Website Through LAN in ASP - NET - Stack Overflow
37
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 7 years ago.
I have an asp.net web-page application and i want it to be accessed using a local area
network(LAN) or wireless area network(WLAN).
I do not know where to start. Is there something that i will configure in order for others to
access my web-page??
asp.net asp.net-2.0
You must have a web server (Windows comes with one called IIS, but it may not be
54 installed)
1. Make sure you actually have IIS installed! Try typing http://localhost/ in your browser
and see what happens. If nothing happens it means that you may not have IIS installed.
See Installing IIS
2. Set up IIS How to set up your first IIS Web site
3. You may even need to Install the .NET Framework (or your server will only serve static
html pages, and not asp.net pages)
Once you have done that, you can more or less just copy your application to
c:\wwwroot\inetpub\ . Read Installing ASP.NET Applications (IIS 6.0) for more information
In theory, once you have a web server running, and the application installed, you only need
the IP address of your web server to access the application.
https://stackoverflow.com/questions/646370/how-to-access-your-website-through-lan-in-asp-net 1/3
6/30/2020 How to access your website through LAN in ASP.NET - Stack Overflow
To find your IP address try: Start -> Run -> type cmd (hit ENTER ) -> type ipconfig (hit
ENTER )
Once
you can access your website from another machine in your LAN by just typing in the IP
Address of you web server and the correct path to your application.
If you put your application in a directory called NewApp , you will need to type something like
http://your_ip_address/NewApp/default.aspx
If you do have a firewall turn it off while you try connecting for the first time, you can sort that
out later.
you can just copy and paste it to c:\inetpub\wwwroot\ then go to IIS and set it up as an application (try
this one support.microsoft.com/kb/172138) – inspite Mar 14 '09 at 20:17
by the way ., i have found out that my machine is using IIS 7., how can i create a virtuAL directory in
it.,?? – Art Mar 15 '09 at 0:05
I know this is an old thread, but make sure you have used "Add Windows Components" and added the
Management Console too! Otherwise you won't even see it in your start menu. – bgmCoder Jun 25 '12
at 16:00
You may also need to enable the World Wide Web Service inbound firewall rule.
On Windows 7: Start -> Control Panel -> Windows Firewall -> Advanced Settings -> Inbound
31 Rules
Find World Wide Web Services (HTTP Traffic-In) in the list and select to enable the rule.
Change is pretty much immediate.
7 A main step. That's what I needed. – Erick Asto Oblitas Dec 13 '13 at 0:34
https://stackoverflow.com/questions/646370/how-to-access-your-website-through-lan-in-asp-net 2/3
6/30/2020 How to access your website through LAN in ASP.NET - Stack Overflow
You will need to configure you IIS (assuming this is the web server your are/will using)
allowing access from WLAN/LAN to specific users (or anonymous). Allow IIS trought your
1 firewall if you have one.
Your application won't need to be changed, that's just networking problems ans configuration
you will have to face to allow acces only trought LAN and WLAN.
Not exactly. If you use an NTLM handshake for the request, then other users can even see the page
through computer/site. If on simple LAN, you have the option of modifying your hosts file, create VPN,
and more. A stage server will do you some justice as well., Out of the box, assuming the web site is
localhost, this can be accomplished with just the IP address, and disable your firewall. I would say,
imho, add the rules, but that's your call. All of this works really well, especially so if you begin using a
self signed certificate. Firewall and security rules are the gotchas. – Anthony Mason Feb 14 '16 at
12:52
If you use IIS Express via Visual Studio instead of the builtin ASP.net host, you can achieve
this.
0 Binding IIS Express to an IP Address
https://stackoverflow.com/questions/646370/how-to-access-your-website-through-lan-in-asp-net 3/3