Ubuntu 8.10 Perfect Server Question

Discussion in 'Server Operation' started by andydurham, Nov 15, 2008.

  1. andydurham

    andydurham New Member


    Apologies if theres another post on this that ive missed but im a little confused. My ISP wont provide a static IP address for me so Im having to use dyndns site name. However I'm following this guide


    When it gets to this part:

    then edit /etc/hosts. Make it look like this:

    vi /etc/hosts localhost.localdomain localhost server1.example.com server1

    Im not sure what to put there. I called my server ubuntu, my static ip address for the server is and my dyndns account for example is testserver.linuxhome.net

    How do I set this up? can anyone help please? I'm a little confused since this is my first ever server setup and I don't want to get it wrong.

    Your help would be greatly appreciated.


  2. _X_

    _X_ New Member

    closest solution to your problem is here:

    set your local IP for testserver.linuxhome.net that will be fixed (static)

    in ISPConfig set in:
    Default Ns1: and Default Ns2: to dns servers of you ISP provider.

    hope this will solve the problem.

    you can always later change ip in /etc/apache2/vhosts/Vhosts_ispconfig.conf to *:80

    if you are using GoDaddy:
  3. zcworld

    zcworld New Member

    as long as you open the port on ur router to the IP addrress that is hosting the site
    the LAN IP address doesn't matter
    as long as it DNS name points to you WAN IP address and the port 80 on your router goes to your WWW box its all good

    as far as i know

Share This Page