What methods do people use for viewing sites during periods of DNS propagation? We use WHM/cPanel for all sites so the sites on those servers can be accessed by http://IP.ADDRESS/~username/ but this is often not suitable for client access and also doesnt work for certain site configurations. Internally we often use some free proxy sites but these are full of malware and porn ads so certainly not suitable for client access and have other problems because of frame usage. I know we could probably do this by going down the purer proxy route using one of the main Firefox extensions but again this is beyond most clients scope. What do other people do?
-
For developer preview I use
/etc/hosts
entry.seengee : yeah good point, that is ideal for developers but very scary for clientsTim Howland : In the past I've written little VB apps that automate the changes to /etc/hosts for them and then undo them when testing is done. Seems to do some automated handholding- and gives me a good platform for displaying release notes, links to the bug tracker, etc.From vartec -
DNS propagation will take as long as it takes. If you can't use the site's "official" DNS name then the only choice is another domain or the site IP. The latter is far from ideal, though, particularly if you're using name based virtual hosting.
At my previous employer we used customer.
development.example.com
while the site was being developed, and customer.servername.example.com
when it was live.Who is supposed to be viewing the site?
seengee : the issue is primarily one of client preview, not the general public.Brent Ozar : Alnitak's answer is still right, though. Create another DNS entry pointing to the site you want, and put an extremely short Time To Live (TTL) on it, like 60 seconds. That way you can repoint it if you run into problems, and it won't be getting much load anyway. Using a DNS entry makes you look more professional to clients if you can say "Go to http://preview.yournewsite.com" instead of telling them to edit a hosts file.seengee : yep, sorry didnt meant to imply that Alnitak's answer was incorrect, it is correct but the problem we are dealing with is attempting to make a client realise that their new site is actually live on their domain of choice but that DNS is the issue so a preview.domain.com solution would not really work for this. I guess proxy or hosts file is only solutionDavid Schmitt : If DNS hasn't propagated yet, the site isn't "live."Alnitak : @David - indeed not!From Alnitak -
If you don't like Alnitak's answer about a DNS entry, the second best thing is to put a dedicated "preview" page on the web design company's site that links to your various previewing works-in-progress. For example, tell the client to go to http://www.MyWebDesignCo.com/clients/AcmeInc and then on that page, use a redirect to go to the IP address or wherever the real preview location is.
One advantage of this method is that you can edit the page fast to change the location without waiting on DNS setup or DNS TTL problems.
From Brent Ozar -
There's also this online tool for those whom the HOSTS file is too scary :) http://www.previewasite.com
0 comments:
Post a Comment