Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a website it is hosted in another network machine with 80 port. That machine name is "Welcome(192.168.x.x)". This application is running only network machines.

The following website url when i access that website.

Like "http://welcome/default.aspx" or "http://192.168.x.x/default.aspx".

My requirement is,

Is possible to access some name instead of "welcome" or "192.168.x.x".

Like "http://myapps/default.aspx"

Please help to how to access the network website.

Thanks in advance
Posted

You can play around with the hosts file (but I wouldn't recommend it). The name "welcome" that you see is actually the DNS name of the computer. You can change it to "myapps" by changing the computer name.

Programmatically you can use the SetComputerNameEx to change the NetBIOS name, which should change what you need to type into the web browser to access the computer.
 
Share this answer
 
Hopd this link is useful

http://forums.iis.net/t/1148132.aspx/1[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900