Error after changing IP address

Discussion in 'HOWTO-Related Questions' started by marvin, Oct 16, 2014.

  1. marvin

    marvin New Member

  2. Ghostdare

    Ghostdare Member

    Your question is a little bit confusing. Maybe is a DNS problem.

    You mean you cannot access it from internet via a domain name or IP?
     
  3. marvin

    marvin New Member

    before i change my ip addres, i can acces my server from internet or another network,
    because i dont have any domain yet, i acces it by typing ip addres

    for example 103.xxx.xxx.xxx/webmail

    if i type that addres from browser, anywhere, i can acces my roundcube webmail

    but after i change my ip address, i can not acces it anymore
    my new ip addres is 10.xxx.xxx.xxx

    can you help me ?
     
  4. Ghostdare

    Ghostdare Member

    OK. This IP is on a router/firewall and is a NAT to the internal IP of the server? From the server you can access the internet?
     
  5. marvin

    marvin New Member

    i can acces internet from my server

    but i dont know my ip is under router or not ?
    sorry if i can explain about that
     
  6. Ghostdare

    Ghostdare Member

    This IP is set directly to the server? Post the content of /etc/network/interfaces

    You can mask the IP's inside
     
  7. marvin

    marvin New Member

    Yes the ip set to server

    this is the screenshot

    file:///home/istrator/Pictures/Screenshot%20from%202014-10-16%2018:55:19.png
     
  8. marvin

    marvin New Member

    this is the screenshot of /etc/network/interfaces

    [​IMG]
     
  9. Ghostdare

    Ghostdare Member

    Dude, it is a link to an internal file... it's not available for me.

    Copy/paste the information.
     
  10. marvin

    marvin New Member

    sorry if the image can't see
    this the /etc/network/interfaces content

    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address 10.120.21.100
    netmask 255.255.255.0
    network 10.120.21.0
    broadcast 10.120.21.255
    gateway 10.120.21.1
    dns-nameservers 10.120.21 8.8.8.8 8.8.4.4
     
  11. Ghostdare

    Ghostdare Member

    Dude,

    Your IP looks like a LAN -IP, so you are behind a router. This IP it's given to you by your ISP? I do not think so....

    Connect to your router/firewall and make the necessary changes so the external IP of yours point to the internal IP of your server.
     
    Last edited: Oct 16, 2014

Share This Page