Website not reachable via IP Address (only name)
-
Hello everyone, (tl;dr at bottom)
I have made a small website on a LAN.
At the beginning I noticed that it only worked with IP address. After googling a bit I found a fix, if I remember correctly I had to change this:define(‘WP_HOME’,’https://example.com/index.php;);
define(‘WP_SITEURL’,’https://example.com/indexp.php);Then everything started working fine. But just inside the LAN, where I have a DNS and I have registered the site name, but there are other networks that should be able to access that website just by using the IP address, since the DNS entry cannot be added on those nets (not even in the hosts file or anywhere else).
The problem is that entering the ip address in the address bar of any browser, results in the address getting translated to the hostname (by wordpress I assume, since there are two settings were I had to put the site name: WordPress Address (URL) and Site Address (URL). These two settings used to have the IP address aswell in the beginning).
tl;dr: How can I configure my site to be used with both the hostname and the IP address?
Thanks in advance and have a good day.
Regards.The page I need help with: [log in to see the link]
- The topic ‘Website not reachable via IP Address (only name)’ is closed to new replies.