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!
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
Gary Ford14,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.
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.
Sue Dough35,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.
Hi Gary, would you mind sharing the answer you received from ServerPress? I am having the same issue that you had.
Your instructions worked perfectly for me. Thank you Gary.
Farook Khan2,285 Points
Encountered the same problem. Gary, I appreciate your posting the solution! It worked just as you explained.
Andrea Dardon38 Points
I followed those steps but I'm still getting 404 error when I click on the URL. Has anyone found any other solution?
Andrew ThomasFront 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.