WordPress.org

Ready to get started?Download WordPress

Forums

localhost site using wordpress (9 posts)

  1. paulphilippines
    Member
    Posted 2 years ago #

    I would like to create a local WordPress website that is only accessible by LAN. I have successfully setup the AMP package on my Mac, I say successful because I was able to see the "it works" page after the setup. So I installed WordPress and made several changes on the theme I selected, along the way I thought of accessing the site just to see how the changes are doing but then the "it works" page is the one showing up and not the WordPress site I'm working on.

    I'm new to WordPress and a newbie to web development so I really would appreciate if anybody could help me. Thanks in advance!

  2. s_ha_dum
    Member
    Posted 2 years ago #

    1) How did you install WordPress?
    2) Are you sure you put it in the right directory for your server to find it? Should be the same as the one the "It works" page is in, though you may be able to put it in other places if you configure it right. I'm not sure how MAMP behaves in that respect.
    3) I am betting that "it works" page is named "index.htm(l)". Rename it to something else-- "index.html.bak", for example-- and see what happens.

  3. loughcorrib
    Member
    Posted 2 years ago #

    If that is the new lite package, there are 2 files in htdocs, index.html and index.php I would presume the call is from html as it will take precedence.
    Also copy both and then delete them from htdocs then do a new upload.
    unless you see the wp files there.

  4. paulphilippines
    Member
    Posted 2 years ago #

    Thank you for your reply. I installed wordpress inside the sites folder using the terminal in my mac. Inside the sites folder I can see the "index.html" file.

    What I would like to achieve is how I can make a computer on my LAN to access my wordpress site on my mac by typing the computer name or the ip of my mac laptop.

    Thanks a lot for the prompt reply I really appreciate your help

    Paul

  5. paulphilippines
    Member
    Posted 2 years ago #

    @ laughcorrib.
    I can't see the htdocs folder inside my sites folder in my mac. the only folder I see there is the php and wordpress folder, plus the index.html

    But I can see the index.php inside my wordpress folder. Should I copy all the files inside the wordpress folder and transfer it to the sites folder is that what you mean?

    Paul

  6. loughcorrib
    Member
    Posted 2 years ago #

    I am not familiar with mac, but there is definitely a htdocs folder there.
    Its in wampp/folder/htdocs.
    Your problem is index.html it will write before php unless wrapped.
    You need to find it
    You need to look at the wampp folders not the wp folders.
    Get it working on local/pc/mac/ first, to deliver to lan you you will have to reconfigure .http Hope I can remember !!
    Get back to me !
    p.s It's loughcorrib as in one of the world's famous loughs. Google it!

  7. paulphilippines
    Member
    Posted 2 years ago #

    I saw it. its inside /applications/mamp/htdocs

    but the folder is empty. So should I paste index.php here?

  8. loughcorrib
    Member
    Posted 2 years ago #

    upload wp to this, Have to get back its early am here !
    look at your file structure after upload, wp is called from index.php. Don't forget to setup config.php

  9. paulphilippines
    Member
    Posted 2 years ago #

    Okay gotcha! I will update you on this tomorrow. Thanks a bunch!

Topic Closed

This topic has been closed to new replies.

About this Topic