Link to home
Start Free TrialLog in
Avatar of lilyyan
lilyyan

asked on

convert IP to a domain name.

Hello gurus,

Suppose I have a ip address 123.456.789.111 , I want to convert it into a domain name, e.g. mysite.myschool.edu or something else, is this possible? cause I'm developing a Web application , I don't want to display my IP in the browser

Thanks for your help,

lilyyan
SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lilyyan
lilyyan

ASKER

Hi, thanks for your prompt reply.

I found file :C:\Windows\SYstem32\drivers\etc\hosts, and opened it.  is this a text file?

there is only one entry : 127.0.0.1       localhost

So I just need to add one entry: 123.456.769.111 mysite.myschool.edu ?
Yes.
How many clients do you need to deploy this to?
Avatar of lilyyan

ASKER

Hi, sirbounty

I need to say that I'm using a particular part on my pc, i.e. 123.456.769.111:1988, shoud I use 123.456.769.111 or
123.456.769.111 :1988?
Avatar of lilyyan

ASKER

>>How many clients do you need to deploy this to?

Well, there isn't certain number for this. It can be any number.
Maybe some more info on the scope of your project.
You wouldn't include the port in the hosts file...but what clients and where from, would need to access it in this manner.
Internal or external to your current network?  Sounds like you may simply need to register your own domain?
Modifying that file will only allow you to resolve that domain name on your computer.  You will have to add that entry to every computer that wants to reslove your webpage.
Avatar of lilyyan

ASKER

Hi,
I added one entry 123.456.769.111:1988 mysite.myschool.edu.

and test it on my pc , it shows: The page cannot be displayed
Without the port:

123.456.769.111 mysite.myschool.edu
Avatar of lilyyan

ASKER

Yeah ,this time it works. Thanks

But like 2hype mentioned, it only take effect on my pc, unless i modified the hosts on other pcs.

Well, my application will  be accessed within an internal network, but the number of pc to accss it is uncertain.
Avatar of lilyyan

ASKER

So i guess need to ask the DNS server people to add one entry.
"So i guess need to ask the DNS server people to add one entry."

Yes, this should be done by the people in charge of your DNS server.