Ubuntu 8.10 Perfect Server Question

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

  1. andydurham

    andydurham New Member

    Hi

    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

    http://www.howtoforge.org/perfect-server-ubuntu-8.10-p3

    When it gets to this part:

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

    vi /etc/hosts

    127.0.0.1 localhost.localdomain localhost
    192.168.0.100 server1.example.com server1

    Im not sure what to put there. I called my server ubuntu, my static ip address for the server is 192.168.1.150 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.

    Thanks

    Andy
     
  2. _X_

    _X_ New Member

    closest solution to your problem is here:
    http://howtoforge.com/forums/showthread.php?t=25145&highlight=dynamic


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

    in ISPConfig set in:
    Management/Server/Settings>DNS
    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

    192.168.0.100:80 to *:80

    if you are using GoDaddy:
    http://www.howtoforge.com/ispconfig_dns_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