Answer the question
In order to leave comments, you need to log in
How to view a local site through a phone?
I have a local site with the site.loc address, it has a responsive site layout. Connected Apache, php, phpMyAndim, etc. When I type my ip into the browser on my phone, it redirects me to the Apche start page (index of/). But when I try to type in site.loc on my phone, it says that there is no such site on the server. Tell me what's the problem. I kind of wrote everything in the host file and everything works on the PC.
Answer the question
In order to leave comments, you need to log in
1. On the router, register a static dns site.loc record with an indication of the server.
2. or configure your resource on the server as default server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question