Access Asp.net Website within LAN

Posted by Patil_Rakesh under ASP.NET on 4/1/2013 | Points: 10 | Views : 2041 | Status : [Member] | Replies : 3
Hi frnds,
I wanted to host my asp.net website on LAN server[Windows 7] so that all my client computer can access this website within the lan..
Can any anybody help me regarding this topic step by step.
thanks in advance.




Responses

Posted by: Raj.Trivedi on: 4/1/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Rakesh,

You will have to go IIS of the LAN server and create a Virtual Directory in Default Web site and browse to the folder where is your asp.net website.

After that right click the Virtual Directory and select convert to application.

After that check your IP by going into cmd

and run the command

ipconfig.

you will get IPV4 address

eg:- 192.168.x.x

then if your computers are connected to in LAN then you can call your asp.net website by entering the ip of the LAN server

eg:- 192.168.x.x./nameofwebapplication

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Patil_Rakesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patil_Rakesh on: 4/1/2013 [Member] Starter | Points: 25

Up
0
Down
Thank you Raj for your reply,
Now i am getting this error, how to fix it?

Error 401.3 - Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.


Patil_Rakesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj.Trivedi on: 4/1/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Rakesh,

Make sure that application pool of your website and website both are running under the same identity. Then make sure that this identity has required permissions on the virtual directory.

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Patil_Rakesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response