WordPress.org

Forums

Basic theme does not work on other computers (5 posts)

  1. TheMw
    Member
    Posted 9 months ago #

    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.

  2. catacaustic
    very awesome
    Posted 9 months ago #

    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.

  3. Sarathlal N
    Member
    Posted 9 months ago #

    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/.

  4. TheMw
    Member
    Posted 9 months ago #

    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. :)

  5. Sarathlal N
    Member
    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Topic