Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have my WordPress based website hosted on a Linux server. I plan to redesign the site and would like to do in on a local test server first. I am an experienced Windows administrator, but have a very limited Linux knowledge. I would like to have my test server installed on a local Windows machine.

What steps should I make to create a copy of my production WordPress environment on a local Windows 2008 server?

Thanks!

share|improve this question

3 Answers 3

up vote 0 down vote accepted

Your easiest solution is to install xampp. That will give you PHP, MySQL and Apache HTTP server, and it's very easy to configure for a dev environment.

Be cautious with the Unix vs Windows file naming conventions.

Linux is case sensitive, and it expects forward slashes instead of backslashes. Spaces in file names are discouraged.

For bonus points, edit your hosts file so that your domain name points to your local dev machine's IP address.

share|improve this answer
    
With xampp it was very easy. Thanks. –  Branko Jan 16 '10 at 13:18

Personally, I'd ask my hosting company for a staging environment that mirrors production. That way you don't have to deal with any administration yourself, you won't have to worry about differences between a local Windows environment and the production Linux environment causing issues, and it should be cheap because there's little resource usage.

share|improve this answer
    
I've already made it with xampp. Your suggestion is also very good. I will consider it in the future. –  Branko Jan 16 '10 at 13:22

I use VirtualBox and a copy of whatever distribution of Linux is used by the hosting service.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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