Find the answer to your Linux question:
Results 1 to 3 of 3
I'm still getting my feet wet with Linux. I am working on turning one of my PCs into a webserver for my own websites and some of my friends. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2004
    Posts
    139

    BIND 8


    I'm still getting my feet wet with Linux. I am working on turning one of my PCs into a webserver for my own websites and some of my friends. I have successfully got Apache2 and ProFTPd working, however, I would like to know how to setup DNS on the same computer for my network, so I can point an external address to it (richgannon.net is the domain). Oh, and can this be done if I am using a Linksys NAT router?

    Once I get that working, how can I create subdomains to different computers on the network and to different users' directories ( i.e. richgannon.net/~user/ is user.richgannon.net)

    Thanks in advance!
    If you love something, emerge it

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219

    Re: BIND 8

    Quote Originally Posted by Blue|Fusion
    I'm still getting my feet wet with Linux. I am working on turning one of my PCs into a webserver for my own websites and some of my friends. I have successfully got Apache2 and ProFTPd working, however, I would like to know how to setup DNS on the same computer for my network, so I can point an external address to it (richgannon.net is the domain). Oh, and can this be done if I am using a Linksys NAT router?

    Once I get that working, how can I create subdomains to different computers on the network and to different users' directories ( i.e. richgannon.net/~user/ is user.richgannon.net)

    Thanks in advance!
    For the first one you should not need to do unless you plan on parking your domains on it. Just point the domain towards your IP using the service you have. The second one is simple have a look at the Apache docs for VirtualServers -> http://httpd.apache.org/docs-2.0/vhosts/

  3. #3
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    stuff

    If apache is listening on all your ip addresses. then I assume you can go like http://yourhostname and see your apache start page. yes?

    If so then you just need to sort out the router. basically your static ip address (from your isp) will be fixed at your router. you need to setup port forwarding on it to point all port 80 requests to your linux box. and that should be it. Oh yeah and talk to your isp about them pointing your domain name at your static ip.

    have I missed anything?
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •