Author Topic: Setting up website on LAN  (Read 819 times)

0 Members and 1 Guest are viewing this topic.

Hound

  • Guest
Setting up website on LAN
« on: January 08, 2014, 10:31:31 pm »
Hey guys I know css, html, css3, html5 and javascript and I would really like to start learning PHP, so I read the thread on how to set up a php environment in linux, how ever I have know idea how to use apache or configure ubuntu to host a site on LAN, and I've searched around for a while and I couldn't find much I would really appreciate it if you guys could point me in the right direction.

Also the reason why I want to host a site on my LAN is because I would like to practice attacking and defending against myself and I was wondering if this would be a good way to simulate and practice attacking actual sites off LAN ??

Thanks for the help!
« Last Edit: January 08, 2014, 10:32:30 pm by Hound »

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: Setting up website on LAN
« Reply #1 on: January 08, 2014, 10:46:54 pm »
If this is only meant to be used for yourself, setting up a local server is all you need. Check out http://www.apachefriends.org/en/xampp.html .
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: Setting up website on LAN
« Reply #2 on: January 08, 2014, 10:49:54 pm »
and I've searched around for a while

Bullshit.

Sorry, but if you really had searched even the slightest bit you wouldn't need to post this. Simply searching "set up local php environment linux" brought up more than enough guides and pages (About 8,030,000 to be exact).

I don't think you understand how a local server works. You set up the environment on your computer and then you can access it using the local IP (regularly seen starting with 192.168...) from another computer on the network. Also, you can access the page by typing localhost, 127.0.0.1/127.0.1.1 depending on configuration, or whatever you set that to in your hosts file into your browser.
This is really basic stuff, I suggest you do some more research before posting because if you continue like this you are not going to fit in here.

Also the reason why I want to host a site on my LAN is because I would like to practice attacking and defending against myself and I was wondering if this would be a good way to simulate and practice attacking actual sites off LAN ??

It is a decent way to do it because you get the practice of writing the defences and launching the attacks against them, so it's a win/win.

You seem like you're on the right track, but seriously, do more research before posting. It will make life a LOT easier for you because you will learn to do these things by yourself and that's key to really learning something. No spoonfeeding at EZ man.
« Last Edit: January 08, 2014, 10:51:10 pm by Matriplex »
\x64\x6F\x75\x65\x76\x65\x6E\x00