[wp-hackers] Site Address during development

Vid Luther vid at zippykid.com
Thu Sep 2 14:36:12 UTC 2010




On Sep 2, 2010, at 9:30 AM, Otto wrote:

> Edit your hosts file, and add a line like this:
> 127.0.0.1 example.com
> 
> Then set up WordPress on your local machine using the example.com URL.
> 

Only thing is, sometimes the client wants to approve the changes, so there's a staging server in place. 
Most of our clients don't know how to edit their hosts file, don't use firefox, and having them use a
proxy where we can manipulate dns (we used to do this at network solutions internally) is also not possible. 


> When you're ready to move it to the live server, delete the line from
> the hosts file and just move the whole thing over. All the URLs will
> still say example.com in them, it's just not pointing to your local
> machine any more.
> 
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list