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 The WordPress Setup Wizard

Doc Chatelain
Doc Chatelain
1,152 Points

Install on WrodPress Desktop Server gives me a 404 error. Link is: http://www.wpdemo.dev/wp-admin/install.php

After starting over I tried to make one for spdemo2.dev - still getting a 404. The video with Zack shows it works fine and goes thru to the next step. What do I do?

6 Answers

Anthony c
Anthony c
20,907 Points

There is about 14 questions asking the same thing..... maybe time to at least update the teachers notes?

Or retire this course?

Not a great start to the wordpress track...

Agnese Nash
Agnese Nash
3,416 Points

A year has passed yet no one from the side of Team Treehouse has taken any action on this...

Hi Doc, As a long time user of Desktop Server I never had any problems like a 404.

I don't know the answer to your question 'What do I do?'. The URL link you provide doesn't work on the the internet as it is totally dedicated to your private machine. I can't check what happened during the WP pre-installation.

My tips:

1) make a separate drive on your computer and name it 'SITES'. Direct the Siteroot of DTS (DesktopServer) to this separate drive. Now DTS will always point directly to the right directory-path.

2) leave out the unnecessary www-subdomain extension at the beginning of the URL. You don't need it and it only gives you a longer address to type in.

3) If on a (windows) PC - ALWAYS - run DTS with the privileges of an PC-administrator. Otherwise DTS isn't able to write the necessary system files into your computer. Also start DTS every time under these rights, then everything will work fine.

Hope this helps, Milan.

Hi Doc,

A few things that may help us help you.

What OS are you running this on?

If you go to localhost in your browser what do you see when Desktop Server running?

If Windows double check the hostfile to make sure it is getting written to correctly.

I haven't set this up on a Mac yet though let me know and I can go through the process later.

Mark

Placing blame on the lesson itself is very short sighted. The lessons itself is fine along with how Desktop Server functions. The issue is individual user PC's or MACs that may have conflicting software that cause these sort of issues.

Hence my questions 3 months ago that never got answered. Desktop Server is great for Wordpress Dev and I liked it enough to purchase it. I as well, had some issues original getting it to work. Though, I did no place blame on the instructor of a course but in turn went to Desktop Servers site and did a bit of troubleshooting to figure out what the problem was and how to resolve it. Which took me about 15 minutes.

Jose Agrelot
Jose Agrelot
13,416 Points

https://www.youtube.com/watch?v=_sOkPdbCiAM : This video is relatively new and will walk you through the process. Once you've installed, locate the xampplite folder and move it to the C: drive and launch the executable for DesktopServer and go through the wizard.

Marcio Gessoni
Marcio Gessoni
14,941 Points

(Updated) Hi guys,

I was having similar problem. When trying to launch my first project (http://wpdemo.dev/wp-admin/install.php), the web browser showed "HTTP ERROR 404".

Searching, I could find this post which worked for me. (hope it does to you too). Ow, I'm using Windows 10.

Quote:

It appears with the upgrade Microsoft is turning on “World Wide Web Publishing” Service by default. This is preventing Apache (part of DesktopServer) from starting.

  1. Go to Windows > Setting and search for Administrative Tools.
  2. Then, find the option Services.
  3. Finally, find the option World Wide Web Publishing Service.
  4. Right click and select Stop.
  5. Right click and select Properties, then change “Startup type” to “Manual”.
  6. Go to DesktopServer and Restart the web and database services.