It solves your problem because you don't have to press F5 or execute a command line to run the website as your original post had mentioned.
Now if you want it accessible by others on your network, you have to put a DNS entry in pointing to your computer. Not ideal if you ask me to have an application running on a local laptop or computer. Should be on a server but I don't know the situation.
To set the DNS entry up, you'd need to have a static IP on your laptop (unless you want to continue to chage the DNS entry everytime your lease expires on your network). Then in your DNS manager you will create an entry that has a name you want users to
type in the address bar, say http://testapp and it points to your static IP on your laptop.
Then in your IIS setup, add a binding to your website: Type=HTTP, IP Address=All Unassigned, Port=80, Host name=testapp. This would get users not working on your laptop to access the website on your machine from their machine.
Remember to mark as answer if this post answered or solved your problem.
b471code3
Star
13877 Points
2598 Posts
Re: Run a site from VS in the background with the command line
Jan 13, 2012 09:22 PM|LINK
It solves your problem because you don't have to press F5 or execute a command line to run the website as your original post had mentioned.
Now if you want it accessible by others on your network, you have to put a DNS entry in pointing to your computer. Not ideal if you ask me to have an application running on a local laptop or computer. Should be on a server but I don't know the situation.
To set the DNS entry up, you'd need to have a static IP on your laptop (unless you want to continue to chage the DNS entry everytime your lease expires on your network). Then in your DNS manager you will create an entry that has a name you want users to type in the address bar, say http://testapp and it points to your static IP on your laptop.
Then in your IIS setup, add a binding to your website: Type=HTTP, IP Address=All Unassigned, Port=80, Host name=testapp. This would get users not working on your laptop to access the website on your machine from their machine.