• Resolved darkarrow

    (@darkarrow)


    Hello all.
    In testing purposes I installed Denwer3 (similary to XAMPP) on the Windows 2003 system.
    After that, I installed wordpress in the directory Z:\home\localhost\www\wordpress2 and wrote several arcticles
    In the next step I have changed options
    .htcaccess in the same directory:
    #dnwr_host companyname.domain
    #dnwr_port 80
    #dnwr_ip 192.168.134.217
    After that site does avaible from local network and Internet.

    But, if open site from local network or Internet, opened main page with only text. All menus has been transfered in list of links. Don’t does not display any images (background, header, etc). All links was redirected on 404 page, which WordPress generated.

    All this cause by 1 reason: in the HTML code of page all links has “https://localhost…” type.
    In the General options in WordPress URL and adress has been
    https://localhost/wordpress2
    But in others varinats I have still seen same problem.
    was try
    https://companyname.domain
    also
    https://IPadressInLocal
    https://IPadressDomain
    but that don’t give correct view of my site in the network and Internet…
    Anybody know, what’s need to write, to fix this problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter darkarrow

    (@darkarrow)

    You can see example of this half-working if open this page

    Options – > General
    Adress WordPress (URL) https://localhost/site
    Adress site (URL) https://localhost/site

    Files store in this directory:
    Z:\home\192.168.134.217\www

    on this moment

    May be it a important: on IP adress of this domain name has located a gate, usergate, which doing redirecting on the localhost machine in the local network.

    Don’t use localhost in a site url. Every machine on the planet thinks that it is localhost.

    Thread Starter darkarrow

    (@darkarrow)

    I understand it. But what need to write?
    I have tryed domain.name and IP of our gate (which has configurated for redirecting to the “localhost”), and that’s don’t work: problem is still: only main page successfully loading without pictures, css and others.
    I’m can’t correctly write this options.
    Anybody can show some examples their’s
    Options – > General
    Adress WordPress (URL)
    Adress site (URL)?

    I have two directories, with that I’ m working:
    Z:\home\192.168.134.217(local network IP)\www (which content
    sitename’s files)
    and
    Z:\home\localhost\www\sitename
    and I would like see those options for this directories.

    You need to set up an internal IP address or domain name for your server and use that.

    Thread Starter darkarrow

    (@darkarrow)

    Thanks esmi, this problem has been solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with lan/internet publishing site from my localhost’ is closed to new replies.