Question

IP change due to doplets change in DNS

Posted April 7, 2021 208 views
DNS

Hello friends, I moved my project to another server with another fixed IP, so I changed the IP of the DNS, now my website is not working. Do I have to wait about 24 until I make the change or will it be a problem with the configuration of my project?
[Example link](https:/www.bullano.com.ar/)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @gasparbullano,

Usually, the DNS changes can take up to 24 hours to take effect. Having said that, these days, DNS changes rarely take more than 4 hours to propagate around the globe.

I do believe the issue here is with the configuration on the droplet itself rather than your DNS. Can you confirm what WebService you are using, is it Nginx, Apache or something else? Additionally, make sure your domain has an active configuration file in that WebService.

Additionally, when replying can you mention if your Webservice is running as well? You can check that by typing in your droplet the following:

systemctl status NameOfService

Additionally, you can check if anything is listening on port 80 like so:

netstat -tulpen | grep 80

Regards,
KFSys

  • hello good afternoon, the service I am using is apache, I did the netstat command query and it listens to port 80

    I don’t know what could be happening.

    Greetings

    • Hi @gasparbullano,

      can see your website is working as expected at the moment, great to see that!

      Can you confirm what was the exact issue so that other people that find this question can see the solution as well?

      What I belive the issue was is that you didn’t have a virtual host file configured for your domain. Is that correct?