Why is wordpress so picky about the adress you use?
-
So, I host a web local server that is not accessible to online users, only for a large local network, I used to have a plain old HTML page with an Apache server on a Linux machine, then I decided that It’s time to refresh the look of it and got WordPress up and running, when setting up WordPress I used
localhost
as my “address” or the web page since it would only be accessible from the local network. The local network is large and has several subnets with different rages of IP addresses, now the server has access to all of them, but when a user tries to access the site it redirects them tolocalhost
, which of course is stupid because the server is not on their local host. Okay, no biggie, I’ll just put the IP address of the machine as the “address”, now users from one subnet can access the site with no problems, but users from another subnet get redirected to an IP address that is not in their subnet range and cannot access it. When I was hosting the page on a local Apache server this was not happening, why is it redirecting people to an address they can’t access? Same thing for when I try to access the website from a VPN, The address that the machine has on the VPN is obviously not the same as on the local network, but I still get redirected to the local address. The fun part is that the HTML loads just fine, There’s just no CSS, no Plugins, no animations. This is so weird to me, and I cannot figure out how to stop it from redirecting uses to another IP address. Is there a way to set up multiple addresses? One for each subnet that the server is connected to.
- The topic ‘Why is wordpress so picky about the adress you use?’ is closed to new replies.