• I have the following setup on a local PC to host my Blog:

    • Apache + MySQL with XAMPP v3.3.0.
    • WordPress site folder under C:\xampp\htdocs\realheroes
    • index.html edited to point to folder; $uri .= $_SERVER[‘HTTP_HOST’]; header(‘Location: ‘.$uri.’/realheroes/’);
    • Set up router to Port Forward to hosting PC on LAN

    When I access the website through a PC connected to the WAN, outside the LAN, the Title page loads without images. There is no warning, they just aren’t displayed. When you click on one of the blogs, I get an HTTP Error 404.0 – Not Found, error code 0x80070002

    It also has the following information;

    The localhost/realheroes works correctly.

    Is it because the Physical Path is C:\? If so, how do I correct the issue?

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The physical path doesn’t really matter, it’s all about how the web server is configured. By default I believe XAMPP is configured for local development and it’s initially set up to prevent non-local access for security reasons. You’ll need to alter its configuration to allow full access from your WAN. As this pertains to Apache and XAMPP more than WP, I recommend asking for help in one of the Apache Friends forums.

Viewing 1 replies (of 1 total)
  • The topic ‘Local PC Hosting – No Images Appear and No Pages Load’ is closed to new replies.