开发者

Can I change locally running application domain name 'localhost' to say 'abcd'

while running asp.net application locally, the domain name shows 'http://localhost:50984/application1/'

开发者_如何学CCan I change 'localhost' to 'abcd'? if yes how?

how can this application be made available through network to other computers?

(I am using Visual Web Developer 2010 Express, windows 7) (I found some similar kind of questions like change localhost domain when running locally but didn't find any way to implement)


Open up your hosts file and modify 'localhost' to 'abcd', which is located at C:\Windows\System 32\drivers\etc\hosts (you'll have to open with notepad).

In order allow your application to be accessed on other computers you'll have to host it somewhere. This usually means within IIS because as far as I know this isn't currently possible with the local server provided with Web Developer 2010 Express.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜