Name instead of IP address INTRANET

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
thatsme
Forum Commoner
Posts: 87
Joined: Sat Apr 07, 2007 2:18 am

Name instead of IP address INTRANET

Post by thatsme »

Hi,

I have set up a Intranet site using WAMP server. Currently i have to type the ip address to get the site. I want to give a name instead.

Thanks
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: Name instead of IP address INTRANET

Post by Apollo »

Just use the gethostbyname function.
Post Reply