I have recently moved flat and getting broadband set up is not an option for me at the moment. I use Apache installed on Ubuntu via VirtualBox at the moment, but can't find an easy way of doing so offline.
Thanks in advance for your help.
need help use apache offline no internet
Page 1 of 17 Replies - 417 Views - Last Post: 14 September 2011 - 09:44 AM
Replies To: need help use apache offline no internet
#2
Re: need help use apache offline no internet
Posted 14 September 2011 - 08:49 AM
What are you trying to make apache do?
#3
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:13 AM
Apache doesn't run online or offline. It listens to the inbound port (standard port is 80) of the machine that its' running on.
Even with no internet, any machine on your local network can still access port 80 of your Apache webserver, & be served websites.
Even with no internet, any machine on your local network can still access port 80 of your Apache webserver, & be served websites.
#4
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:29 AM
Sorry I probably didn't explain it too well. I'm trying to send my code to the browser for the purpose of testing, and when online I can do this by sending it to an i.p and configuring the hosts file in windows to give it a domain name. However this does not seem to work when offline.
#5
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:30 AM
Why can't you just use the ip address?
#6
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:31 AM
or "localhost" for that matter?
#7
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:34 AM
The IP was one I was using at work. On my laptop at home, I tried doing it to the offline ip 127.0.0.1 without success.
#8
Re: need help use apache offline no internet
Posted 14 September 2011 - 09:44 AM
Okay.. what set up are you using? Windows? If that's the case you might have IIS still turned on sucking up local host.
If you are using windows what happens when you use Internet Explorer to navigate to "http://localhost"?
I know on my XAMPP machine I turn of IIS first and spin up my apache services after that to get my php to work while testing.
If you are using windows what happens when you use Internet Explorer to navigate to "http://localhost"?
I know on my XAMPP machine I turn of IIS first and spin up my apache services after that to get my php to work while testing.
This post has been edited by modi123_1: 14 September 2011 - 09:45 AM
Page 1 of 1

New Topic/Question
This topic is locked


MultiQuote






|