• Hi, I have a ubuntu server running the latest WordPress using my home network internet connection. I’m unable to access my WordPress site from my home network internet connection unless I use a VPN. When I’m connected to a VPN I can then access my WordPress site with my domain name [ redundant link removed ]

    If I change my WordPress site and home URL to the local IP address of my ubuntu web server i.e. 10.0.0.101, I can then access my WordPress site via the local IP address, but then not via the domain name, so no external access.

    I think the solution is to set up a local DNS server, but not sure how to do that and am wondering if there is an easier solution. Is this problem called a local loopback issue?

    Also, when I type the local address of my webserver https://10.0.0.101 it sits for a while and then loads a text version of the website. When I try https://10.0.0.101/wp-admin/index.php it sits for a while and then says the site cant be reached.

    • This topic was modified 4 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • You can update your hosts file to point the domain to your local IP instead of setting up a whole DNS server. Either that, or you’d need to update the home/site URL and other references to the live domain to point to the local IP. I’d set your home/site URL back to the live domain,

    vi /etc/hosts as root, then
    10.0.0.101 bubbathinktank.com www.bubbathinktank.com

    Or just echo "10.0.0.101 bubbathinktank.com www.bubbathinktank.com" >> /etc/hosts as root.

    Hope this helps!

    • This reply was modified 4 years, 3 months ago by Brett Krueger.
Viewing 1 replies (of 1 total)
  • The topic ‘Can’t access wordpress site from home network unless I use VPN’ is closed to new replies.