How to get wordpress site to repond to ip address

How do I get wordpress site to respond to ip address?


I used local to install wordpress with apache web server. The website responds with the url http://hungryones.local/ How do I get it to respond to the internal ip address or the external ip address? I get a 404 error using the internal ip http://192.168.1.46/

I am on windows 11


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @surfer1966! Before we get too deep into this, is there a reason you want it to respond directly to the IP address? Are you trying to share the site or access it from elsewhere?

Nick,

I’m working on migrating my site from network solutions to my pc. I’d like to test the site on my pc on the internet before I switch the dns. I found instructions to configure apache to do this but there does not appear to be a httpd.conf file when I used Local to install apache/wordpress.

Soo

Hi @surfer1966. Is your goal here to self host by adding your public domain to Local and pointing DNS to it? If so this is not really the intended purpose of the application. The intended purpose of the Local app is for things such as offline development of projects not currently live, or to work on a “copy” of a site to update a live site later. If you’re looking to self-host, your best bet will be to secure your own server from a provider.

Nick,

My goal is to self host. Is there a management software you suggest I use instead of local or should I manually install apache, wordpress, and mysql?

Soo

If you want to handle everything by yourself, @surfer1966, your best option would be to secure your own VPS (Virtual Private Server) and install Apache, WordPress, and MySQL on it. Some VPS providers may assist with part of this setup, but you’ll need to compare different options. Consider looking at providers like DigitalOcean, Linode/Akamai, Vultr, Hetzner, AWS Lightsail, CyberPanel, or Plesk.

Additionally, if you search for tutorials on self-hosting WordPress online, you’ll find many excellent blogs and YouTube videos that can provide detailed guidance and walkthroughs, as this topic is beyond our scope to cover comprehensively.