Site not externally accessable
-
Running a local WordPress site on a Windows host, behind a NAT router that doesn’t support NAT loopback.
I can get to the site internally, I can get to the Admin pages externally using the internet facing IP address (haven’t moved my domain redirect yet). When I try access the site externally, it’s trying to load from the internal IP address.
I have these 2 lines in my wp-config.php file that’s in my root WP.
define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);Don’t know if this has anything to do with it but I used Duplicator to move my site from Azure to my localhost
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Site not externally accessable’ is closed to new replies.