Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How does everyone work on a live blog in WPMS when the domain name still points to a different server/IP? I need to configure the site before the domain Name Server settings are changed to the new host.

share|improve this question

closed as off topic by Brady Aug 13 '12 at 9:37

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

Edit your computer's hosts file, then on a new line, insert the IP address of the new or old server from which you'd want to access the site, followed by a space or tab, then type in the domain name (without http://). Here's an example...

# This is an example of the hosts file
127.0.0.1  localhost loopback
::1        localhost
23.21.230.21 mydomain.com www.mydomain.com
23.21.230.21 subdomain1.mydomain.com subdomain2.mydomain.com
# None of the following will work as expected. Don't be disappointed!
# 23.21.230.21 mydomain.com www.mydomain.com subdomain1.mydomain.com
# 23.21.230.21 mydomain.com *.mydomain.com

Please replace 23.21.230.21 with the actual IP address of the server from which you'd want to access the site. You may also need to reopen the browsers after every change in this file.

I hope this answers your question.

share|improve this answer
    
@brady How is this question off topic? It's a "practical, answerable questions based on actual problems that I face" and directy related to "development and management best practices"? –  TheLoneCuber Aug 13 '12 at 23:30
    
Thanks for your help. Very much appreciated and exactly what I was after. –  TheLoneCuber Aug 13 '12 at 23:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.