Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-24-2013, 04:12 PM #1
- Join Date
- Aug 2011
- Thanked 0 Times in 0 Posts
Working on this Localhost from another computer.
I Have Jury Duty Tomorrow (2/25/2013) and will be staying at my mothers house as she lives right near the court and i live on the other side of the county.
I Would like to work on my projects that i have on this pc (using xampp) while i'm there at my mothers to fight boredom. Usually i just type localhost in the address bar and drag & drop/edit files to/in the folder.
How can i set this up so i can work on the projects from my mothers that is on the pc? My brother will be he so he can start xampp etc.. for me.
02-24-2013, 04:33 PM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,650 Times in 2,619 Posts
You can access your site using your assigned ip address instead of localhost. There is also no-ip.org which I assume is still around, so if you are on dhcp you can retrieve your webserver even if it changes. If your firewall's and routers are not set to block port 80 incoming (or whatever port you configured), than you can access the webserver remotely.
Modifying on the other hand isn't so easy. You'll want to use RDP/SSH or even set up FTP to allow you to modify the files.
One handy dandy trick that you may want to consider is to use a flash drive as your webserver. All it takes is a .bat or .sh file to start it up. The pro to this is the ability to move around and take everything with you in a compact fashion. The cons include slower access speeds and not being online all the time. For development environments, I don't consider either to be of relevance. I did this when I was in school; I trimmed down an apache 1.1 build and mysql 5.0, and fit that with lots to spare on my 128MB flash drive. The database is the only thing that concerned me of its growth, which when I was in school wasn't really of major concern either (so effectively I couldn't only have one project with a db active at a time). I'm not sure what the smallest flash drive you can find nowadays is; I'd guess upwards of 2gb or so :P
Even nowadays I'm still a pretty big fan of "sneaker-net" approaches.PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');