Hosting Problem

General discussions related to php

Moderators: macek, egami, gesf

ppkkyaw
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Aug 21, 2012 4:25 pm

Hosting Problem

Postby ppkkyaw » Tue Aug 21, 2012 4:32 pm

Hey guys

I m just a beginner and I finish my testing point of sale project. therefore I m going to set that project on the local server and I would like to test or open from other computer like www.pointofsale.com

Now I can only open only at my computer like Localhost/pointofsale/index.php. I would like to open www.pointofsale.com from my local server and other client server. How do I do? pls tell me guys

NigelRen
php-forum Active User
php-forum Active User
Posts: 450
Joined: Fri Aug 05, 2011 9:53 am

Re: Hosting Problem

Postby NigelRen » Wed Aug 22, 2012 1:36 am

You need to have a DNS entry which resolves your www.poi... to your IP address, this should be done for you when you register your URL.
You could add an entry to your hosts file ( have a look at http://en.wikipedia.org/wiki/Hosts_(file) ) which would have to be put on every computer that you want to use your local web site. But remember to remove this entry once your proper site is working, otherwise they will continue to try and use your local site.


Return to “PHP General”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest