mappings of ip addresses to host names

2 views
Skip to first unread message

Sovichea

unread,
Jan 28, 2010, 10:34:18 PM1/28/10
to Cambodia PHP Developer Group
Hi,

I am running XP with wampserver installed. My ip address is
192.168.5.62.

I want to allow other computers in my network to access phpmyadmin in
my computer by type http://phpmyadmin instread of http://192.168.5.62/phpmyadmin


Any helps?

Vichea

kanha veng

unread,
Feb 1, 2010, 1:02:09 AM2/1/10
to cam...@googlegroups.com
Dear Vichea,

I am neither expert nor specialist in PHP or any of programming course. I am an IT Networking person. But the reason that I join this group because of hoping to go on my study in University to finish my Bachelor Degree of IT. So then I will have to learn some of programming course. For my idea please read as following:
- I used to install something like moodle or joomla (nearly forgot all) on Apache Web Server, so when we want to access http://name instead of http://ipaddress/file
Step1: we need to have one element is DNS to resolve hostname then you need to make alias name from your host name to phpmyadmin.
Step2: Configure the virtual host file which usually vhost.conf (I don't know exact location in Wampserver).
Other choice you can go to edit file C:\Windows\System32\drivers\etc\hosts then add one string as example in the file then save it. But this way you only can access http://name/phpmyadmin only, and if other person wants to access it from your computer they cannot only access via IP (coz you don't have DNS to resolve).

Regards,

Kanha



--
You received this message because you are subscribed to the Google Groups "Cambodia PHP Developer Group" group.
To post to this group, send email to cam...@googlegroups.com.
To unsubscribe from this group, send email to campdg+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/campdg?hl=en.


Sovichea SOU

unread,
Feb 1, 2010, 2:22:32 AM2/1/10
to cam...@googlegroups.com
Hi Kanha,

Thanks for your reply.

C:\Windows\System32\drivers\etc\hosts it woks perfect only on my computer, but other computers on the same network cannot access it.

Any more idea?


Vichea

kanha veng

unread,
Feb 2, 2010, 1:16:53 AM2/2/10
to cam...@googlegroups.com
Dear Vichea,

+++Other choice you can go to edit file C:\Windows\System32\drivers\
etc\hosts then add one string as example in the file then save it. But this way you only can access http://name/phpmyadmin only, and if other person wants to access it from your computer they cannot only access via IP (coz you don't have DNS to resolve).
I told you already na! It will work perfect only on ur computer, but if you want all computer can access by name unless follow by step1 & step2...

Thanks,

Kanha

Reply all
Reply to author
Forward
0 new messages