find server with IP, but not with name.

Discussion in 'HOWTO-Related Questions' started by alis5, Sep 3, 2010.

  1. alis5

    alis5 New Member


    I'm a newbie to Linux and haven't worked that much with networks either. Just some main things.

    But now I want to learn more about linux and servers, so I followed the perfect server guide (with Ubuntu 10.04).
    But can't reach the server through a client using the name.

    By typing I can reach it. But if I type in the name that I set, ( then it will not find anything.
    But I can ping both the name and IP from the server.

    Is there something in my router that I need to config so clients can reach the server (without having to type the IP-no)?
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you create a DNS record that points to your router's public IP? Also, does your router forward all needed ports (e.g. 80 for http) to your server?
  3. alis5

    alis5 New Member

    Thanks for the help Falko!

    But unfortunately I can still not ping my, (only from my server).

    In my router (Dlink DGL4300) I have set up the virtual server to point at the servers IP and port 80. I can't find anything else in my router that would fix this problem for me.

    What do you mean by "Did you create a DNS record that points to your router's public IP?" Where should I do this (on the server?) and how do I do it?
    I have only followed "The perfect server...".

    When I try to ping from my cmd in XP I get the answer that it couldn't find the hostname for

    What to do? I'm totally lost! :(
  4. falko

    falko Super Moderator ISPConfig Developer

    You must create an A or CNAME record for on the authoritative name servers for You can find out the authoritative name servers by running
    dig ns
  5. alis5

    alis5 New Member

    Thanks again for the help Falko.

    But still no success from my side.

    I get nothing when I run dig ns, it times out after a while (I also tried dig, but same result here).

    You are also talking about authoritative name servers for my I don’t fully understand that either, is that my router you are talking about? is only my “internal” LAN-network (or atleast that’s my intention). So why do I need to “go out” to my ISPs authoritative name servers?

    In my router I put “Local Domain Name” to But that didn’t help either.

    The way I see it, my XP-machine is sending a ping to, the router should then look it up and send it to my server. But what I don’t understand here is how the router will know if it should send it to my server or to the ISP server (DNS).
    In my router I can set primary DNS server and secondary DNS server. I have here tried to put my servers IP in primary, but then only one computer (of the 2+server) could reach the internet. And I could still not ping

    What to do?
  6. falko

    falko Super Moderator ISPConfig Developer

    No, that's not the router. I suggest you read this guide first:

    So this is not a registered domain?

Share This Page