Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Real Noob question :)

  • 15-09-2003 10:04AM
    #1
    Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭


    Hey Guys,

    I'm a real newbie when it comes to this unix stuff and need some advice...

    I want to set-up a web-server over a network, where the web-pages will only be viewable over the network.

    I have been doing a bit of reading and saw how to set up a linux server running the httpd program/daemon.

    It all seemed pretty straight forward when it occured to me that the daemon would be possibly be listening for requests from the modem.

    Since the network is internal, how do I go about listening for requests over the network??

    For a network web server, Do ya simply share the html files????


    I know I sound confused, But I am :)

    Thanks in advance for any advice,

    King


Comments

  • Registered Users, Registered Users 2 Posts: 7,742 ✭✭✭mneylon


    The machine that you use for the web server should serve content on 'localhost', so you don't need to 'share' anything. All you would need to do is let people access the content using either a hostname or an internal IP address.


  • Registered Users, Registered Users 2 Posts: 413 ✭✭padraigmyers


    In most linux systems all you have to do is make sure your http deamon is running.
    Usually thats done by becoming root and running "/etc/init.d/httpd start".

    Once the server is running just go to a web browser and type localhost in the
    address bar, a page should show up to let you know that its running OK, to serve
    the website just add/replace/edit index.html in /var/www/html/.

    You can change the setting of the http server by editing its config file, this file is
    called /etc/httpd/conf/httpd.conf

    Really what you need to do is go on to the apache website (http://www.apache.org/)
    and read up on some of the documentation.


  • Closed Accounts Posts: 1,163 ✭✭✭Emboss


    I'm assuming you're using Apache if so take a look at

    http://httpd.apache.org/docs-2.0/bind.html


Advertisement