Click here to Skip to main content
16,019,876 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
I have deployed my ASP.Net Site in one of our server which is in ip format. So, I used to browse it like…
http://xx.xx.xx.xx/MySite
But, I want to get out of this IP and give some text. How can I achieve this.
Also, I can’t change the Host alias name.
Thanks
Sreenath.
Posted
Updated 27-Feb-11 19:27pm
v2

The following link may help you out:
IP Addresses, Host Names, and Domain Names

If i misunderstand your question, please feel free to correct me.I hope the above information will be helpful. If you have more concerns, please let me know.

If this would be really helpful to you then don't forgot to Vote and Make Answer as Accepted.
 
Share this answer
 
If this IP address is in your intranet, then you can simply modify your local machine's hosts file to achieve this. Not sure about the procedure to achieve this for a public IP though.

The hosts file reside under "\System32\drivers\etc" file under your windows folder.

To do this using IIS, you can follow instructions below.
1. Select appropriate web site in "inetmgr"
2. Find and click "Bindings"
3. edit the existing entry, where you have specified the IP address.
4. Add "Host Name" in the "Edit site binding" dialog.
5. Click "Ok" and then "close"

Hope this helps !
 
Share this answer
 
Comments
fjdiewornncalwe 28-Feb-11 9:49am    
OPs comment moved from answer.
Hi,

Thanks a lot. But I where can I get Bindings option. I am not able to get it.
coolestCoder 28-Feb-11 21:56pm    
Oh ! sorry to mention version of IIS. The procedure above works on IIS 6. Which one you are using ?

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