So, I host my WordPress website on my PC. 192.168.1.5:25566 (port forward). On my LAN, I can access homepage and other pages on the site. But from outside the LAN, I can access homepage but cannot access other pages on the site. I suspect this is due to the links to the other page being 192.168.1.5:25566/page2, as 192.168.1.5:25566 is set in Settings>General.
So, I put my WordPress site address in Settings>General to 80.90.484.594(my public IP, not my real public IP cuz I ain't giving that out). After I do this, WordPress site and all it's pages can be accessed from outside the LAN but not inside the LAN. I thought I set my Apache server to listen to 192.168.1.5:25566 but somehow WordPress, which AFAIK runs on Apache, cannot be accessed from my LAN. Is there a way to access all pages from the outside network as well as inside?
So, I host my WordPress website on my PC. 192.168.1.5:25566 (port forward). On my LAN, I can access homepage and other pages on the site. But from outside the LAN, I can access homepage but cannot access other pages on the site. I suspect this is due to the links to the other page being 192.168.1.5:25566/page2, as 192.168.1.5:25566 is set in Settings>General.
So, I put my WordPress site address in Settings>General to 80.90.484.594(my public IP, not my real public IP cuz I ain't giving that out). After I do this, WordPress site and all it's pages can be accessed from outside the LAN but not inside the LAN. I thought I set my Apache server to listen to 192.168.1.5:25566 but somehow WordPress, which AFAIK runs on Apache, cannot be accessed from my LAN. Is there a way to access all pages from the outside network as well as inside?
I would say your best bet would be too keep your wordpress with the external IP and edit your hosts file inside the lan so your internal IP resolves to the external. I don't see a way of having 2 different urls for a single WP install.