Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.
Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.
Change IP from 127.0.0.1 to Computer's IP in EasyPHP and/or XAMPP
I want to change the IP in EasyPHP and/or XAMPP. Is it possible to change the IP from 127.0.0.1 to the computer's IP?
If yes, can anyone please help me with that.
Your question is to change from localhost to your computer IP for accessing your local server files?
Answer:
With Apachi Installation Wizard, do the following:
If you would like to install Apache to be used as a local area network server, you should set your router to assign the computer you are installing Apache on to have a static LAN ip address (if it does not already have one. This issue is beyond the scope of this article; refer to your router's documentation, or consult the person in charge of your network). Enter either this IP address, or a network name that you will use to acess the server from within your network in the first two boxes (if you choose a name, you will need to update the Hosts file of the users on your network so that when they type the name in a browser, it maps to your computer's IP addresss). Enter an appropriate email address in the third box, and choose "for All Users, on Port 80, as a Service - Recommended".
If you would like your server to be accessible through the internet, you will need your computer to either have a static internet IP address and set up a domain name server (DNS) to point your domain name to your computer's IP (this is beyond the scope of this article). If you do not have a static IP, you can set up your computer to have a static local IP as described in the last paragraph, and use a dynmaic DNS service such as dyndns.com to keep your current IP up to date on the DNS. A good router will allow you to automatically update the dynamic DNS when the router acquires an IP address. You will also need to set up port forwarding so that all incoming traffic on port 80 is forwarded to your computers static local IP address. Enter the dynamic DNS domain name, e.g. mysite.dnydns.org, for the first two entries, and an appropriate email adress for the third. choose "for All Users, on Port 80, as a Service - Recommended".
When typing your computer IP from your browser as: http: //123.245.0.2/, your public directly will be shown on the browser (or your home page). If you like to point a domain name to your computer rather than IP, set the domain's DNS for the static IP of your computer.