Jump to content



Photo

View website across home network


  • Please log in to reply
10 replies to this topic

#1 LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 20:10

I was wondering if there was a way I could host a website internally (I believe this may be a sort of intranet) so that I can view a website I create on different pc's/iPhones/iPads at home without them being on the Internet officially.

As you can tell, I don't really know what it is I'm looking for. Would this be a sort of home server?

I did a google search an I think this could be done IIS but my laptop I have at the min is only windows xp home and I don't believe this can be done.

I just basically want to be able to create a websige and place somewhere on my laptop and then can view the website from my ipad.

Can this be done?


#2 xirtam

xirtam

    Neowinian

  • Joined: 11-January 05
  • Location: Ireland

Posted 16 December 2012 - 20:20

Yep you can do this, I highly recommend http://www.easyphp.org/

I use it all the time for testing, its quick and fairly easy to get up and running.

#3 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 20:33

Thanks for your recommendation.

How do I get it to work for my needs?

#4 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 85
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 16 December 2012 - 20:51

"How do I get it to work for my needs?"

Install EasyPHP
  • Download EasyPHP from the website www.easyphp.org
  • double-click on the downloaded executable
  • select an installation directory and follow the instructions
This is just one example of WAMP (windows apache, mysql, php) there are many others. If all you want to do is serve up http, then you could use just apache on windows, you could run whatever you want in a Virtual Machine, etc. There are plenty of ways to skin a cat. Running a http server can be as easy as running a simple exe. nginx runs on windows - download it http://nginx.org/, run it and there you go click the exe and its up and running

nginx.png

Simple edit of the index.html file and there you go I am serving up html over my local network..

example2.png

#5 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 20:57

Yes I have installed EasyPHP and I can view webpage on my laptop, however when trying to view on my ipad it cannot find the webpage.

#6 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 85
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 16 December 2012 - 21:02

And are you running a firewall on your laptop, are you trying to access it via name, via IP? Your ipad is not going to be able to resolve localhost to anything other than itself, etc.

Here - loading my nginx page off my ipad

2012-12-16 15.03.14.png

#7 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 21:05

i have allowed access to the appliction through my firewall. when i am looking for my webpage via my ipad i am doing so by an ip (http://127.0.0.1/)

#8 episode

episode

    Neowinian Fanatic

  • Tech Issues Solved: 3
  • Joined: 11-December 01

Posted 16 December 2012 - 21:08

127.0.0.1 is the localhost IP - it always refers to the device you are on. The IP you want is most likely in the 192. or 10. ranges.

#9 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 21:10

i tried loading "192.168.1.100" like in the pic... it starts to load and then says it could not open.

as you can tell i have no idea what im doing here

#10 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 21:16

heres what ive done so far...
1- downloaded nginx-1.2.6 > nginx/Windows-1.2.6pgp
2 - unrar
3- double clicked nginx icon - no response
4- opened index.html in html folder

how do i get it so it opens in 192.168.1.100 or whatever?

#11 OP LouisMoore16

LouisMoore16

    Neowinian

  • Joined: 25-May 08
  • Location: Norwich

Posted 16 December 2012 - 21:24

ohhhhhh ive got it going now! i was putting in the wrong ip



Click here to login or here to register to remove this ad, it's free!