You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to have a DNS and then create a Virtual Host on the web server. For example, I'm using Laragon in my Windows operating system. They work with creating a domain name at /etc/hosts (this is a local domain on your system)
and then creating a Virtual Host that mapping the local domain to the correct php location (in this I'm using a Nginx web server)
NOTE: Here an example if creating a Virtual Host using Apache as Web Server
But now the problem is how android / termux can edit the /etc/hosts. I don't know what if you make a DNS Server and then create an A record that pointing to the IP Address of your phone, then create a Virtual Host at the web server for the mapping to the correct php location
Hello, dear developers. Please tell me how to create a local domain, for example
site.local
.The text was updated successfully, but these errors were encountered: