Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox won't process etc/hosts entries with .localhost reserved TLD, but works with other entries with fake TLD

  • Tiada balasan
  • 0 ada masalah ini

I'm hosting a server locally on my desktop, and created an etc/hosts entry to assign it a URL so that I could use TLS certificates. The URL is `docs.user.localhost` and firefox will not load the page. However, as soon as I change the etc/hosts entry to `docs.user.localsite` or just `docs.user`, everything loads correctly. Is there a setting I need to toggle to allow for loading sites with reserved local TLD's? I've been going through a couple suggested by various sites, but there either already set correctly or don't fix the issue.

I'm hosting a server locally on my desktop, and created an etc/hosts entry to assign it a URL so that I could use TLS certificates. The URL is `docs.user.localhost` and firefox will not load the page. However, as soon as I change the etc/hosts entry to `docs.user.localsite` or just `docs.user`, everything loads correctly. Is there a setting I need to toggle to allow for loading sites with reserved local TLD's? I've been going through a couple suggested by various sites, but there either already set correctly or don't fix the issue.

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.