• I’ve seen similar problems discussed in the forum, but I seem to have a unique version. I recently installed wordpress on a Mac Pro running Snow Leopard server (10.6.8), using MAMP. The install went fine, easily under five minutes and the site is up and running fine when accessed from the server.

    I can access the site from machines on the network, I can see the content of the site, but there is no formatting. The title, a list of pages and a list of posts all show up in a list on the left margin of the browser window. I have old iMacs, new iMacs and a linux machine, and they all get the same display.

    I changed the default directory for MAMP to the default directory for Snow Leopard Server, /library/WebServer/Documents, I know the ip address of the server, and like I said, I can see the site. But somehow the content on the server end, when accessed by a network machine doesn’t know how to access all the style and theme information. Any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t use localhost or 127.0.0.1 for the site urls.

    Thread Starter Rickoxo

    (@rickoxo)

    Sorry, I should have given what I use to try to connect. I’ve tried all sorts of things to get there but the only one that worked was:

    https://10.72.32.66:8888/wordpress

    That’s what let’s me see the content, but not the formatting. If I leave off the wordpress, I see the default index.html page in the /library/WebServer/Documents folder and if I do:

    https://10.72.32.66:8888/images (a folder I created for testing) I see a list of the files in the folder and can click on any of them.

    If I do: https://10.72.32.66 I get the same webpage as if I had the :8888 on the end. But, if I try:

    https://10.72.32.66/wordpress I get a message that says, “You have chosen to open which is a: application/x-httpd-php
    Do you want to open the file or save it?

    Like I said, I can see the website, I can access files on the server, but for some reason when I access wordpress from a network machine, it’s like it doesn’t know about how to find its own files.

    So what are you using for your site URLs?

    It’s under Settings -> General.

    I think this is your theme’s problem. If the HTML is loading but the styles aren’t, then this means that your theme’s CSS is not loading for some reason. Try switching to TwentyEleven or a different theme.

    Thread Starter Rickoxo

    (@rickoxo)

    Fonglh, that was the magic question. The site URL’s all had localhost which for whatever reason wasn’t resolving when accessed by a network machine. I changed the URL’s to the ip address:8888 and everything is good. Thanks for the tip, I knew it had to be something pretty straightforward ….

    Rick

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Accessing locally hosted wordpress site from network machines’ is closed to new replies.