Mobile app version of vmapp.org
Login or Join
Dunderdale272

: How to force browsers/ISPs to look for my new DNS? I have changed the DNS for my domain. what code (or header) should I use in my old server to tell the visitor's browser or ISP that it

@Dunderdale272

Posted in: #Browsers #Dns #Domains #Isp

I have changed the DNS for my domain.
what code (or header) should I use in my old server to tell the visitor's browser or ISP that it should check for my new DNS and the current content is old?

is the temp redirecting to a subdomain should help?

or you know a better way?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Dunderdale272

3 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

There is no code or header to tell visitors of your new DNS records. You just have to wait for the new records to propagate over the web. It used to take up to 72 hours but now should be complete within minutes. Having good control over your DNS TTL is always a plus

10% popularity Vote Up Vote Down


 

@Yeniel560

It looks like you can not do much at the moment. You could put up a message on the old server stating that the visitor is on the old website. If you would have more control over your website then you could configure a "proxy" to the new server. But for this you need your own server and some understanding about web server software.

But something for the next time: What you should have done first was to set the time-to-live (TTL) for the DNS records down to 10 minutes or so. Usually you would do this about one week in advance of the move. And you do this on the old DNS servers. Then when the change happens it takes ideally only 10 minutes till all users visit the new website.

I say ideally because not every ISP has configured their DNS servers to respect the TTL value. Some set their own value.

If you can not change the TTL and you can not configure a proxy then you probably have a pretty cheap hosting package. So if it is really important to you that you can switch easier in general then I recommend you to plan in more money for the hosting. If your website isn't worth a lot then you have to live with the fact that switching the provider brings some problems along.

10% popularity Vote Up Vote Down


 

@Si4351233

Frankly, the question makes no sense.

Did you move your website from one hosting to provider to another? Then you need to log into your domain registrar and point the name server entries to the name servers provided by your new hosting provider.

Did you change the server name on the same server and keep the domain name the same? Then you need to go your cPanel (or whatever else is being used) and update your DNS entries and then wait for your hosting provider to pick up the changed information and pull it into their name servers.


what code (or header) should I use in my old server to tell the visitor's browser or ISP that it should check for my new DNS


This specifically is not allowed as a security measure, unless you actually are asking about a 301 redirect from the old server to the new server which is a HTTP server function, not DNS.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme