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

I have published website on my IIS web server. now i want to access that website by its name not by Its IP.


i have tried to search in google and there is solution to change in hosts file but its not working.

how can i do that.

Thank You
Posted
Comments
ZurdoDev 30-May-13 8:43am    
DNS determines whether or not the name will work. But I am confused. So, for example, you put your site on a server such as Server1. Then you tried to access it by going to http://Server1/Site and it does not work but http://ipofServer1/Site does work? Is that what you are saying?
Yatin chauhan 30-May-13 8:49am    
I have Website and i published that now i configure that in my local IIS server. i can access that buy IP name like 192.168.2.77:80 now i want access that by giving name like mywebsite so how can i do that.....!!!

1 solution

To start with, you need to understand where those names come from: http://en.wikipedia.org/wiki/Domain_Name_System[^].

Practically, to make your site exposed to the whole world of the Web, you need to purchase some domain name, which you can get independently of from your Web hosting provider. Alternatively, you can also get a subdomain of an existing domain; you can find such service for free.

—SA
 
Share this answer
 
Comments
Yatin chauhan 31-May-13 1:13am    
i know that to access from world wide we need to purchase domain...i just want to access that in my local network only. everyone withing LAN network they all are access by IP name .i want to do access that by NAME instead of IP.
Sergey Alexandrovich Kryukov 31-May-13 1:18am    
It should be the name, but the name found from DNS. Did you read about it? You can have your local DNS server and do whatever you want.
—SA

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