Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you create the folder testsite within Applications/MAMP/htdocs and place the WP files and folders in it?

    Or, did you unZIP the WP package within the above-mentioned path so that there is a wordpress folder in it?

    If it’s the latter, then you access it with:

    http://localhost:8888/wordpress/wp-admin or http://localhost:8888/wordpress/wp-login.php

    However, both the Apache and MySQL servers have to be running (green boxes on the MAMP control panel).

    Thread Starter cablek

    (@cablek)

    Yes, I did all of that and I was working on my testsite, learning how to change themes, etc. Then when I shut down and tried to go back, I cannot log in or even find it anymore.

    Then when I shut down

    Shut down the Mac or MAMP or both?

    If you shut down the Mac and or MAMP, you have to start up MAMP again, every time you shut either one down.

    Applications/MAMP/MAMP.app

    When the MAMP control panel opens, click Start Servers, once both Apache Server and MySQL Server show ‘green’, the MAMP Start Page should open in your default browser.

    Unless you manually deleted them, your site files will be at the location I noted in my previous post.

    Thread Starter cablek

    (@cablek)

    Both. I know that I have to have there servers running when in MAMP. So I manually deleted everything and just started over now.

    I am using these directions: http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-locally-on-mac-using-mamp/

    I followed exactly (just naming folders what I wanted to and still using port 8888)
    I get to this part:

    Open a new browser window and type http://localhost/mysite. If you re-named the wordpress folder to something else, then use that name here. WordPress will notify you that it was unable to find wp-config.php file. Click on Create a Configuration File button.

    And my browser says:

    Not Found The requested URL /mysite was not found on this server.

    I keep running into this problem and can’t get any farther.

    Thread Starter cablek

    (@cablek)

    i was able to log in by clicking on “My Website” on the MAMP browser. Not by entering the http://localhost:8888/mysite into a new browser. So now i am all set up again. But last time this happened, once I was logged out of my admin page I could never get in again. Any suggestions?

    If you are using the MAMP defaults, that is, port 8888 and htdocs as the document root, then you should be able to access your site with:

    http://localhost:8888/name_of_folder_in_htdocs and the log in at:

    http://localhost:8888/name_of_folder_in_htdocs/wp-admin` or

    http://localhost:8888/name_of_folder_in_htdocs/login.php`

    I found your question while trying to solve a similar problem on Wamp for Windows; after a restart of my computer, I couldn’t navigate to my local sites.

    I really don’t know enough to know if you are having the same problem :), but I found out from my techie son that I needed to make sure Wamp was running before I try to navigate to my local site in my browser. A really basic thing to someone who’s an expert, but not to me!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't login/find localhost on own server’ is closed to new replies.