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

Gary Ford
Gary Ford
14,475 Points

Desktop Server errors after creating Dev site

I've seen others with similar problems, but no one has given an answer that has worked for me. I keep on getting this error after I create a development site in Desktop Server and try to use the link to the login:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

wpbasics.dev Apache/2.4.12 (Unix) OpenSSL/1.0.1m PHP/5.5.24 mod_perl/2.0.8-dev Perl/v5.16.3

I was able to get to the login for the site once, but after logging out it gave me the same error. I've uninstalled Desktop Server per ServerPress's instructions, reinstalled it and still have the same problem.

I've also looked through support forums on the ServerPress site and nothing comes up. I hope that Zac or someone with extensive Wordpress/Desktop Server experience can offer and answer as to what is going on and how to fix it.

Thanks in advance for any help with this problem.

7 Answers

Sue Dough
Sue Dough
35,800 Points

There is a lot of answers when I googled your error. Your not in the right place or the folders/files aren't in the right place from what I quickly read.

Try to make a folder called test and a file called test.php with

<?php phpinfo; ?>

inside of it. Then go to http://localhost/test/test.php and see if you see anything. If you see a file with a bunch of php settings outputted then you know the server works. Then you should be able to go from there.

Gary Ford
Gary Ford
14,475 Points

Thanks so much for your reply. I actually received an answer from one of the guys at ServerPress. It detailed steps for logging into Desktop Server and the admin login that were different than what was shown in the Treehouse video. I'm up and running now. Thanks again.

Hi Gary, would you mind sharing the answer you received from ServerPress? I am having the same issue that you had.

Gary Ford
Gary Ford
14,475 Points

Here are the instructions ServerPress gave me:

Open DesktopServer Select the first option “Stop or restart the web and database services.” [ Next > ] Select “Restart the web and database services.” [ Next > ] [ Next > ]

Visit the site that presented you with the error.

Hope this helps.

Gary Ford
Gary Ford
14,475 Points

Here are the instructions ServerPress gave me:

Open DesktopServer Select the first option “Stop or restart the web and database services.” [ Next > ] Select “Restart the web and database services.” [ Next > ] [ Next > ]

Visit the site that presented you with the error.

Hope this helps.

Your instructions worked perfectly for me. Thank you Gary.

Gary Ford
Gary Ford
14,475 Points

That's awesome! Great to hear it. My pleasure, but the thanks goes to the guys at ServerPress. LOL

Julia Rix
Julia Rix
3,303 Points

Thank you so much Gary! I had the same issue but not anymore, thanks to you! :)

Farook Khan
Farook Khan
2,285 Points

Encountered the same problem. Gary, I appreciate your posting the solution! It worked just as you explained.

Gary Ford
Gary Ford
14,475 Points

So glad the solution worked for you Farook!

Andrea Dardon
Andrea Dardon
38 Points

I followed those steps but I'm still getting 404 error when I click on the URL. Has anyone found any other solution?

Gary Ford
Gary Ford
14,475 Points

Andrea. My recommendation would be so sign up for an account at Serverpress.com. Once logged into Serverpress.com with your new account you can send a support question directly to them. They are usually very responsive. That is how I got my answer. You can also do a search on their support documentation page and you might find something that helps.

Andrew Thomas
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrew Thomas
Front End Web Development Techdegree Student 14,698 Points

I also got the forbidden error when I tried to visit my new admin page at [website].dev/wp-admin/install.php. My problem was that I had installed the Server Press demo site in a folder on my company's server instead of in a local folder on my own computer.

When you're creating a new demo website with Desktop Server, you will see a page that says Site Name, Blueprint, and Site Root. Make sure that your file path in Site Root is a folder on your local computer, NOT on a server.