• Resolved rahulraj987

    (@rahulraj987)


    I am usnig wamp server. I extracted the wordpress zip and named the folder myblogsite and kept insude te www folder of wamp in C drive.

    Edited w-config.php and added database details, Authentication Unique Keys and salt details (generated random keys) . I have NOT added my website URl here.

    Now I am trying to access https://localhost/myblogsite and https://localhost:8009/myblogsite – Both gives me error–“This site can’t be reached . localhost refused to connect.”

    Tried accessing localhost:8009 – Gave me my folder structure in wamp/www . Tried clicking on myblogsite folder from here. This again gave me above error

    • This topic was modified 7 years, 11 months ago by rahulraj987.
Viewing 6 replies - 1 through 6 (of 6 total)
  • @rahulraj987,

    Are you able to browse https://localhost/ or https://localhost:8009/?
    The above URL should serve the Index file located in your c:\wamp\www

    Thread Starter rahulraj987

    (@rahulraj987)

    both . And both shows me contents of w:\wamp\www.

    My index.php and other wordpress files are inside w:\wamp\www\myblogsite folder

    There’s really no reason to prepare wp-config.php in advance.
    Simply prepare the database in advance, in phpMyAdmin, if you haven’t change anything after installing Wamp then database username is root and there’s no password.

    Then navigate to localhost/myblogsite or 127.0.0.1/myblogsite and the usual WP install will start. When you reach the database details page, just enter all the details and that should be it.

    • This reply was modified 7 years, 11 months ago by sinip.
    Thread Starter rahulraj987

    (@rahulraj987)

    I had initially successfully installed wordpress from the url. Then I tried changing the url in the settings tab. Then my URL started redirecting and ended up in a loop. From then the site never worked. This was when I directly put the content of wordpress folder to the www folder.

    Now I deleted those files from wordpress folder which were now inside www folder. Again copied the wordpress folder to www and renamed to myblogsite. Now if I give https://localhost/myblogsite/wp-admin/install.php – It says wordpress is already installed with a link to Login which goes to a page which says the site cant be reached.

    If I give localhost/myblogsite or 127.0.0.1/myblogsite I get a message
    “This localhost page can’t be found

    No webpage was found for the web address: https://localhost/myblogsite/”

    I tried without preparing the wp-config file with db details. Gives me same error

    • This reply was modified 7 years, 11 months ago by rahulraj987.

    Well, the easiest way out of that mess, IMHO would be to delete everything related to that problematic WP installation from www folder, even remove whole Wamp if necessary, check that localhost or 127.0.0.1 lead to Wamp homepage and start fresh.

    Thread Starter rahulraj987

    (@rahulraj987)

    Thanks. Did a total re install and it worked

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wamp server- trying to host a blogsite locally’ is closed to new replies.