Question

Hey all I got a quick question for you that are more experienced than me with hosting etc :) I made a website and firs put it on one host and entered it's nameservers on my purchased domain website to link them of course. After that, I figured that host is too slow, so I changed to other host, and after that also changed my nameservers to be the ones of the new host. Now I have a problem, If someone goes to http://zipdaturl.com he gets redirected to the default index.php page of the old host and if it is with http://www.zipdaturl.com it goes to the correct one. What is it that I can do so that both of these go to the correct host ? I checked domain provider, both nameservers are pointing to the new correct host.

Était-ce utile?

La solution

Yeah, www DNS caches are (I'm sure) registering latest host provider static IP for your website so this is "normal www behaviour" for a few days when you are changing hosts. Domain transfer is hugest www change (for one domain/website) and you always need few days for that to complete.

In that period you have 2 (here and there) "hosts".

Funny, depending on a location youre visiting your site, you can see actual site, or you can see old one - at the same time.

But old one will vanish in few days. Enjoy!

Autres conseils

Contact your old nameserver provider and tell him to remove the domain from his parkings OR create an index.html on your old host like this:

<meta http-equiv="Refresh" content="0; url=http://www.zipdaturl.com/">

Well I have checked and both URL took me to the same website.but I think you also need to do WWW redirection using ht access.

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ __controller.php?p=$1 [L,QSA]

RewriteCond %{HTTP_HOST} ^zipdaturl\.com [NC]
RewriteRule (.*) http://www.zipdaturl.com/$1 [L,R=301]

Mostly domains need some time to be point in. You can check it by pinging(window+r type cmd).

ping -t www.zipdaturl.com

and check the upcoming response IP Address

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top