Local Access vs Remote Access: Can’t do both
-
I have WordPress installed on a home computer running Windows XP SP3. I have Verizon/Fairpoint DSL and I’m using DynDNS and DynDNS Updater and port forwarding port 8085 to port 80 on my local network. I can access everything from a remote machine but when I try to access from the local machine, I can’t because WordPress is expecting to be accessed at the address https://myhost.net:8085/wordpress (not https://myhost.net/wordpress/ or https://localhost/wordpress/ )
I already have an entry in my ../windows/system32/drivers/etc/hosts file aliasing myhost.net to the non-routable ip of the local machine. But, I don’t think the hosts file is the answer to my problem. The problem results because of the need to contact the router on port 8085 since my ISP rejects port 80.
Is this a problem I can deal with in WordPress itself or with some kind of redirection in httpd.conf…or in some other way?
So far, the only way that I’ve been able to access WordPress from my local network is to connect to my university VPN on a laptop and access from there. But I really want to access from the host itself.
For what it’s worth, the wordpress address and the “blog address” in the wordpress settings page are both set to https://myhost.net:8085/wordpress and I changed DB_HOST in wp-config.php from localhost to myhost.net. Oh! Could it be that if I set the wordpress address to localhost, that is what is required? I’m at work now so I can’t try that.
Thank you in advance for all offers of help.
Kor Kiley
- The topic ‘Local Access vs Remote Access: Can’t do both’ is closed to new replies.