How do I temporarily reference a new web host using my existing domain name?

Posted by Alex Angas on Pro Webmasters See other posts from Pro Webmasters or by Alex Angas
Published on 2011-02-15T23:32:41Z Indexed on 2011/02/15 23:34 UTC
Read the original article Hit count: 238

Filed under:

On provider A I have an existing web hosting account running my site.

On provider B I have my domain name registered pointing to the web hosting on provider A. I've just purchased a web hosting account with provider B and want to move my site there.

Is there a way to temporarily use my domain name to point to provider B while I set up the site (e.g. just from my computer)? I tried to change the HOSTS file (Windows) and while pings resolved to what I set, HTTP requests don't.

© Pro Webmasters or respective owner

Related posts about web-hosting