• I’m new to wordpress, having an LEMP webserver at home. The site perfectly works from any browsers inside my server, but nowhere else; not even within my local network. Only words and links can be seen. What could cause the problem?
    Things I have recently checked:
    -PHP is working outside too
    -My files and directories all seem to have the proper permissions (644 and 755), though it was configured automatically.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Use FireBug and see what files are not being loaded on the remote PC’s.

    I’ll bet that you’re not loading your sites CSS, JavaScript, etc files. The loss of the styling pretty much tells me that.

    The reason for this is that a WordPress site works on one URL only, so if you develpo using http://localhost and you try to access the site from http://198.162.0.100 (for example) the site will still try to load all of the resource files from localhost. You’ll need to change the URL’s sitewide to have it work, but remember that you’ll always need to access it from the same single URL/IP address.

    Try to replace localhost with your IP address in settings->> General->> WordPress address & site address.

    Then access your WordPress installation like http://your_ip_address/your_installation_directory/.

    Thread Starter TheMw

    (@themw)

    Thank you for the support, I managed to make it based on your suggestions.
    Had to set both my WP address and the site address from localhost only to my domain address.

    Also, I had to configure my nginx sites-available file to point to the proper direction, and changed localhost to the domain as well. 🙂

    Sorry,
    I can’t understand your question.

    Can you solve the first problem by changing localhost with your IP address?

    Also I’m not familiar with nginx servers. Some others will help you. Else search your problem or ask a new question about ngnix server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Basic theme does not work on other computers’ is closed to new replies.