quick noob question: hostname for my 1st LAMP?

Discussion in 'Server Operation' started by 1jackjack, Jun 25, 2007.

  1. 1jackjack

    1jackjack New Member

    http://www.howtoforge.com/perfect_server_fedora7

    when installing linux (1st page), we are filling in network settings for a static ip.
    Im running a dual partition; windowsXP and Fedora7, and already have a static ip on the XP partition. Should I use the same details (ip/subnet/gateway/dns) on fedora? And for my 1st LAMP system (used to practise my PHP/MySQL using my own Apache server), what should I put for my hostname (the HOWTO puts server1.example.com)? Can I just use that?

    Thanks
     
  2. zcworld

    zcworld New Member

    if its apart of a bigger network than u would set it
    but i would leave it to the DHCP to set
    but thats me
     
  3. 1jackjack

    1jackjack New Member

    are you saying i don't have to setup a static ip to run my own apache server?

    no.. it's not part of anything bigger, just me, in my bedroom...
     
  4. zcworld

    zcworld New Member

    i would use an static IP
    make sure if u got an dhcp router
    that its out of the IP address pool
    the router gives out
    static IP make life a heap easyer
    when u got like 3 or more servers running at once ;)
     
  5. 1jackjack

    1jackjack New Member

    I appreciate your help, but do you have an answer to my original problem?
    I'm installing Linux, and it wants network settings. If I'm setting up my own apache server, do I enter a specific hostname here, or can it be anything?

    Thanks
     
  6. xrayolc

    xrayolc New Member

    put in there anything you want :)

    call it server.myhome.com or some phantasyname - be creative ;)

    i would also assign a static ip out of range of the dhcp-range, easy to keep in mind (192.168.1.100 or something - depends onyour network configuration).
    As your win seems to be on the samemachine youcan also use the same ip, as you prefer....
     
  7. 1jackjack

    1jackjack New Member

    u da man. thanks for your help.

    so what is the step you need to take to allow anyone on the internet to access your servers files?

    gratzi
     
  8. zcworld

    zcworld New Member

    step one
    open port 80 in ur router
    than forward the port 80 to ur linux box
    step two
    check the linux firewall to make sure that you got open 80 open
    ( i think u gotta do that )

    step three get a friend to do the test for you
    to see if its working or not
     
  9. 1jackjack

    1jackjack New Member

    what url exactly would a friend use to connect?
    cheers.
     
  10. zcworld

    zcworld New Member

    if you got an DNS name from like no-ip.org or dyndns.org
    that
    or if you know your WAN IP that
    to find it goto www.whatismyip.com
    and to check to see if your port 80 is open goto
    www.canyouseeme.org
    <it will also tell you your WAN IP>
     

Share This Page