My server is behind a router. How can I see my website correctly? [closed]
- by Tokyo Dan
I'm running a web server (Ubuntu) on my local home network. I'm behind a router. On the WAN I have a direct IP. When not on my home network and accessing my website via the WAN direct IP my website displays correctly and everything works.
On my home LAN behind the router, accessing my website via the WAN direct gets me to my router's admin login page. This is normal. But...
Accessing my website (via it's home LAN IP address) from another computer on my home LAN gets me to the website but the layout display is broken and clicking on any link takes me to the WAN direct IP (my router's Admin login page).
How can i get my website to display properly and the links to work when accessing it from my home LAN?