Local PC Hosting – No Images Appear and No Pages Load
-
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:xampphtdocsrealheroes
- 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;
- Requested URL http://localhost:80/realheroes…
- Physical Path C:inetpubwwwrootrealheroes…
- Logon Method + Logon User Anonymous
The localhost/realheroes works correctly.
Is it because the Physical Path is C:? If so, how do I correct the issue?
Thanks!
-
Hi there!
Since you’re using the open-source WordPress.org software, your question would be better served on the WordPress.org support forum here: https://wordpress.org/support/forums/
On this forum, we can help with managed WordPress.com sites. There are some differences between WordPress.com and WordPress.org. If you aren’t sure about them, please check the following page that explains it: WordPress.com vs. WordPress.org.
Should you need to create a live site, feel free to check out the WordPress.com plans. We offer world-class support, powerful servers with global datacenters, and many advanced hosting features.
Hope that helps!
- The topic ‘Local PC Hosting – No Images Appear and No Pages Load’ is closed to new replies.