Hosting Problem

A

Anonymous

Guest
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
 
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.
 
To make your point of sale project accessible from other computers with a domain name like www.pointofsale.com, follow these steps:

  1. Set up a local server environment.
  2. Configure a virtual host on your local server to map the domain name to your project.
  3. Edit the hosts file on your computer to associate the domain name with your local server's IP address.
  4. Restart the local server to apply the changes.
  5. Test access by opening a web browser and navigating to www.pointofsale.com
Note that this setup is for local testing purposes only. For public access with a real domain name, you'll need to deploy your project on a public web server.
 
Back
Top