7 Replies - 417 Views - Last Post: 14 September 2011 - 09:44 AM

#1 OwlingSounds   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

need help use apache offline no internet

Posted 14 September 2011 - 08:48 AM

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.
Is This A Good Question/Topic? 0
  • +

Replies To: need help use apache offline no internet

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

Re: need help use apache offline no internet

Posted 14 September 2011 - 08:49 AM

What are you trying to make apache do?
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

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.
Was This Post Helpful? 0
  • +
  • -

#4 OwlingSounds   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

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.
Was This Post Helpful? 0
  • +
  • -

#5 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: need help use apache offline no internet

Posted 14 September 2011 - 09:30 AM

Why can't you just use the ip address?
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

Re: need help use apache offline no internet

Posted 14 September 2011 - 09:31 AM

or "localhost" for that matter?
Was This Post Helpful? 0
  • +
  • -

#7 OwlingSounds   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

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.
Was This Post Helpful? 0
  • +
  • -

#8 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

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.

This post has been edited by modi123_1: 14 September 2011 - 09:45 AM

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1