This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

I can't browse localhost website (using custom domain)

  • 2 replies
  • 1 has this problem
  • 5 views
  • Last reply by cor-el

more options

Hi, i'm using ampps server for web development and I create custom domain in hosts file exp: " mysite.dev ". Unfortunately Mozilla redirect to " Your connection is not secure ". The previous version of mozilla work properly. How to fix it?

Hi, i'm using ampps server for web development and I create custom domain in hosts file exp: " mysite.dev ". Unfortunately Mozilla redirect to " Your connection is not secure ". The previous version of mozilla work properly. How to fix it?

All Replies (2)

more options

Hi, Some where I have seen do not use .dev

So alternative.

more options

You can no longer use the .dev domain because its owner (Google) has added this domain to the HSTS preload list and thus a secure connection is automatically enforced.


The ".dev" domain landed on the HSTS preload list in Firefox 59.0b7 and this means that Firefox will automatically try a secure connection to these TLDs.

See also:

  • /questions/1204477 Localhost: This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox Developer Edition may only connect to it securely. As a result, it is no