Document Root keeps point to default "It works!" page

When I change my router mode to “Site Domain” I just get a default screen that says “It works!”

1 Like

I know I saw this recently but I can’t find the other conversation yet. I think it had something to do with Apache and maybe a port conflict. Are you utilizing Apache as your server type? If you switch to NGINX does that change things?

If you’re still having trouble can you provide these details?

  • What is your OS?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

Thank you!
Mac 14.2.1
Local Version 8.2.0+6554
local-lightning.log (200.8 KB)

I do see a lot of references to a port conflict in your logs. So if you change your Router Mode to Localhost everything works?

Here are some steps you can take to further investigate this:

  • Stop all sites that are running in Local

  • Force quit Local

  • (If using Mac) Run the command lsof -nP -iTCP -sTCP:LISTEN

  • (If using Windows) Run the command netstat -ano

What you’ll be looking for here is to see when sites are stopped and Local is properly shut down if there are still programs running on ports 80 and 443. These may be conflicting with Local or the system may be reporting Local is still running.

Once you run that command you should see a list of listening ports. If you see a particular program making use of those ports, you can then kill that process by running sudo kill -9 XXX where XXX is the PID number of that process. (On Windows you will use taskkill /F /pid XXX where XXX is the PID number of that process)

After that, you should be able to retry. Keep us posted if you have any questions or continuing issues.

There are also some more details around this and other troubleshooting steps at this link if needed: Stopping Whatever Is Listening On Port 80.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.