Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Install WordPress on Your Computer How to Install WordPress on Your Computer Installing WordPress with DesktopServer

Tarek El Hinaoui
PLUS
Tarek El Hinaoui
Courses Plus Student 13,220 Points

Problem installing ServerPress, couldn't access the wpdemo.dev url (Page Not Found).

i am using windows 10, after searching i found that i need to stop the World Wide Web Publishing Service. but this service is not included in my win 10, it is not included in all latest releases. i tried also modifying the port on C:\xampplite\apache\conf\httpd.conf from 80 to 9080 and it also did not solve the problem. is there any work around this problem? can i keep learning the course using other software than ServerPress? Plz Help!!

5 Answers

Tarek El Hinaoui
PLUS
Tarek El Hinaoui
Courses Plus Student 13,220 Points

SOLVED!! 1- I had to unblock the port 80 setting a new rule through the windows firewall advanced settings.. in some win10 version this can be done by disabling the World Wide Web Publishing Services through the services.msc 2- I had to modify the C:\xampplite\apache\conf\httpd.conf file Server name from localhost to 127.0.0.1, remove the site reinstall it all over again.. 3- modify the wp-config.php in your installed site file directory to match your server name and databse settings

Could you go into more detail of step 3 please.

There was a forum post/answer a few months ago that almost solved the problem for me. There were a couple adjustments I had to make, and after those adjustments, I was able to get the desktop version running. I'm on a Mac, running OS 10.10.5. Here's is what worked for me (warning: there was a lot of opening and closing DesktopServer which may or may not be necessary...it worked though):

  1. Close out of DesktopServer, then open back up, then follow prompts to remove a site. Loosely, this is... "Yes. Restart DesktopServer with privileges". Next > [enter your admin password] and click OK "Remove, copy or move an existing website" Next > Select the wpdemo.dev and select "remove website" Remove > Close out of DesktopServer

  2. Unzip the wordpress blueprint (only the Blank non-WordPress file was unzipped for me). Applications > XAMPP > blueprints > wordpress (unzip)

  3. Go back into DesktopServer and create the wpdemo.dev site again following the video instructions. When you get the the screen with the link to open the installation "wpdemo.dev/wp-admin/install.php", close out of Desktop Server.

  4. Open DesktopServer. Select the first option β€œStop or restart the web and database services.” Next > Select β€œRestart the web and database services.” Next > Next > Close DesktopServer.

  5. Open your web browser (I used Firefox) and paste or type in the link that was provided to open the installation "wpdemo.dev/wp-admin/install.php"

Ihsin Chiang
Ihsin Chiang
3,159 Points

Your clear procedure helped a lot, thank you so much!

Amanda Dewoody
Amanda Dewoody
633 Points

Karilyn - This worked perfectly. Thank you!

Johnny Tran
Johnny Tran
5,333 Points

Thanks for that. Have no idea how it worked but it did!

Fawad Mohamed
Fawad Mohamed
2,100 Points

Excellent. Mr. Gibson. Your method work out like charm. Thank you.

thank you so much for the thorough answer!

it works perfectly:)

THANK YOU KARLYN

Thank you!!

Award for most helpful comment goes to this woman!!!

Heidi Lowry
Heidi Lowry
3,777 Points

Thank you Karlyn! For me, I didn't need to unzip the Wordpress blueprint (that just made Wordpress unavailable to me as a Blueprint when setting up my site). It was restarting the web and database services that made it work.

Jake Flaten
Jake Flaten
5,910 Points

If you have a secure and decently fast internet connection, I think you'll be able to do the course within a live development setting rather than a local dev setting. The primary difference of course would be that any changes you make to your Wordpress site would be changed in real time.

Jake Flaten
Jake Flaten
5,910 Points

you would have to have a domain name and a server host, yes.

Jake - this was indeed the best way to go. I wish Treehouse developed a better system to set this up locally, rather than having users waste hours troubleshooting; your suggestion helped.