Changed External ip of server and site does not load

Discussion in 'Installation/Configuration' started by extr3mal, Nov 17, 2016.

  1. extr3mal

    extr3mal Member

    i have a domain xxxyyy.com and recently i had moved server to another isp(ip got changed )
    What have been already made :
    1. Changed server ip in panel
    2. Changed Ip in DNS Zones config
    3.DNS already updated to new ip adress

    What is working :
    If i open https://xxxyyy.com:8080 i successfully can login to panel and navigate there

    What is broken :
    If i open http://xxxyyy.com site does not load at all same happens with www prefix ,and same with ip
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    No errors? Do you get a default webpage, or ??

    Check the website settings, see what IP address it has set (try using '*'). If that's not it, do you connect at all? If not, maybe there's a firewall issue at the new provider.
     
  3. extr3mal

    extr3mal Member

    Site already using * . So it should be available on all interfaces . Other ports work including dns . I don't get any page at port 80. Just error page of a chrome browser
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What is the error on that error page? It sounds like port 80 isn't allowed through to your server, so check firewall rules on your local server and network devices, eg. in particular your router/network firewall. Sometimes a network device like a cable modem will capture/block port 80 by default.
     
  5. extr3mal

    extr3mal Member

    Right now problem changed . When i digging for hostname something weird happens :
    1. Digging thru external server
    Code:
    dig mydomain.com
    
    ; <<>> DiG 9.9.5-3ubuntu0.10-Ubuntu <<>> mydomain.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21921
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.            IN    A
    
    ;; Query time: 1503 msec
    ;; SERVER: 192.168.1.254#53(192.168.1.254)
    ;; WHEN: Tue Nov 22 10:23:14 EET 2016
    ;; MSG SIZE  rcvd: 31
    2. Digging on localhost

    Code:
    dig @localhost mydomain.com
    
    ; <<>> DiG 9.9.5-3ubuntu0.10-Ubuntu <<>> @localhost mydomain.com
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55904
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;aloraprim.com.            IN    A
    
    ;; ANSWER SECTION:
    mydomain.com.        3600    IN    A    xx.xx.xx.xx
    
    ;; AUTHORITY SECTION:
    mydomain.com.        3600    IN    NS    ns1.mydomain.com.
    mydomain.com.        3600    IN    NS    ns2.mydomain.com.
    
    ;; ADDITIONAL SECTION:
    ns1.mydomain.com.    86400    IN    A    xx.xx.xx.xx
    ns2.mydomain.com.    86400    IN    A    xx.xx.xx.xx
    
    ;; Query time: 0 msec
    ;; SERVER: ::1#53(::1)
    ;; WHEN: Tue Nov 22 10:23:23 EET 2016
    ;; MSG SIZE  rcvd: 126
     
  6. chico11mbit

    chico11mbit Member

    Is there a DNS cache active in the localnet?
     
  7. extr3mal

    extr3mal Member

    Don't know . Right now changed dns to google public and localhost in resolv conf waiting for changes with fingers crossed
     
  8. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    So your local server has correct DNS info? But the real world has nothing? Check what nameservers are registered for this domain.
     
  9. extr3mal

    extr3mal Member

    That was first thing that i had done when server was moved to new ip . They are correct and setted up long time ago
     

Share This Page