WordPress.org

Ready to get started?Download WordPress

Forums

How to make visible wordpress installed locally? (8 posts)

  1. zztoq
    Member
    Posted 2 years ago #

    Hi All. I need some help. I have installed wordpress on my notebook. Using mysql, php-cgi, nginx server, all running locally. And all working fine if connect to site from my notebook. But if I tried from another computer on local network it loses css style. Here some code from page: <link rel="stylesheet" type="text/css" media="all" href="http://localhost/wp-content/themes/twentyeleven/style.css" />
    Is there a way to make site work properly?

  2. egado
    Member
    Posted 2 years ago #

    Change the url settings to your computers IP in your network from localhost... to something like 192.168.0.24 and open your localwordpress not through http://localhost/wordpress/ better way: http://192.168.0.24/wordpress/ because of localhost is everytime the computer in your front ;)

  3. zztoq
    Member
    Posted 2 years ago #

    Hi egado! Where do I need to change that URL settings exactly? I have windows 7 on a notebook and other computers on the LAN. Notebook running a site has a fixed address on the LAN 192.168.0.11. If you see a site with the same notebook, all is well. If you see a site with another computer on LAN by typing http://192.168.0.11 in browser, the site is displayed without css style.

  4. Elan Technosys
    Member
    Posted 2 years ago #

    Just login the wordpress on localhost and go to settings>general settings and change the site address and wordpress address just replace localhost with the ip.

  5. egado
    Member
    Posted 2 years ago #

    Yeah, thats it.

  6. govpatel
    Member
    Posted 2 years ago #

    when you change localhost to ip address is there any security issue with on computer just curious.

  7. zztoq
    Member
    Posted 2 years ago #

    Oh! It's working now. Thank you all. What kind of security issue? Do you mean viruses or anything else?

  8. govpatel
    Member
    Posted 2 years ago #

    What kind of security issue? Do you mean viruses or anything else?

    When someone can use your ip address to view your wordpress that is on your computer was just curious on if there security issues as host servers have security programs to protect server.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags