• 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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    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.

    Thread Starter paulphilippines

    (@paulphilippines)

    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

    Thread Starter paulphilippines

    (@paulphilippines)

    @ 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

    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!

    Thread Starter paulphilippines

    (@paulphilippines)

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

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

    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

    Thread Starter paulphilippines

    (@paulphilippines)

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘localhost site using wordpress’ is closed to new replies.