I'm using XAMPP and I wanted to see what the result is in my android phone locally so I did what is mentioned here and I got the result but because there is a problem in loading js, css, fonts and other public files I couldn't get what the original version is. I opened my browser in my phone and typed: 192.168.42.111
however I want to type mysite.local
and get the correct result. BTW it doesn't show the page correctly in windows when I use localhost/mysite
but mysite.local
.
How can I connect to windows from android device just by typing mysite.local
?
EDIT I forgot to mention that I'm using my mobile network to connect to the internet and it is hot-spotted.