Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Real Noob question :)

  • 15-09-2003 9: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,740 ✭✭✭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