Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox cannot connect to a local servers subdomain

I'm working on laravel app ,i face issue with Firefox and Safari browser , when I need to access my web app with sub-domain for example sub.localhost/myapp/public I see Server not found Whilst that opera and chrome working with me well

Any Suggestions ?

like image 771
Muhammad Atallah Avatar asked Oct 21 '15 04:10

Muhammad Atallah


People also ask

What does it mean server not found?

The “Server Not Found” error is a common occurrence on the Internet. Many different reasons can cause it, but the most common cause is the lack of connectivity between the client and server. This error indicates that you are unable to find the requested information on your site.


1 Answers

Best solution, supports multiple subdomains:

  1. Type in this url about:config search for network.dns.localDomains

  2. double click the "value" field.

  3. Enter your urls seperated by commas www.localhost,app.localhost

like image 157
ricks Avatar answered Oct 10 '22 08:10

ricks