Become Ruler of the World by establishing and leading a civilization from the Stone Age to the Information Age. So hopefully you've set up your Nginx or Apache or whatever to be listening for that hostname.Originally created by legendary game designer Sid Meier, Civilization is a turn-based strategy game in which you attempt to build an empire to stand the test of time. Now you can browse to in your iPhone (or in your desktop browser), and it will resolve to your local server. Switch into and out of Airplane Mode on iPhone to flush DNS cache there too. Flush your DNS cache and release and renew your local IP.If you don't know what a HOSTS file is, you're probably fine. Ensure that your HOSTS file doesn't have any entries conflicting with what we've done.In Services > Services > DNSMasq, enable DNSMasq and "Local DNS" and configure "Additional DNSMasq Options" to be something like: address=/project1.xyz/project2.xyz/192.168.1.108 (where xyz is whatever you chose in the earlier step, the IP points to the specific machine, and project1 and project2 are whatever hostname you want to point to each of those projects (such as different Nginx configs).Don't use real-world domains such as "com", "org", "net", etc. Probably avoid using the word "local" since there might be conflicts. For "LAN Domain", set it to some short string, such as your initials without any punctuation (e.g. In DHCP Server > User Domain, choose "LAN & WAN".("Save" doesn't seem to automatically apply the settings.) If you get an error, it's probably because the GUI design of DD-WRT is misleading, and you unnecessarily pressed "Add" for Static Leases. Be sure to press Save and also Apply Settings with every change.Set its hostname to be the same as you named your computer earlier.
CIV VI MAC PC RETRIEVING HOST INFORMATION MAC
In Services > Services > Static Leases, set the MAC address of your server to point to a specific IP address, such as 192.168.1.108.In your OS, change the name of your computer to something short, meaningful, and easy to remember, such as "RYANDESK".
If you have one local server hosting multiple different sites that you'd like to access via different hostnames (via iPhone), you can do this. Third Option (which doesn't depend on a service and is flexible but more complicated and only works if you have a router with DD-WRT on it): Then when you browse to (using a browser on your server or on any device on your LAN), it will show the page hosted at 192.168.1.130.Īnd if you're running Homestead on the machine that exists at that IP, browsing to (with the port in the URL) somehow shows the page hosted on the Homestead Vagrant virtual machine at 192.168.10.10.
CIV VI MAC PC RETRIEVING HOST INFORMATION FREE
See, which is a free service and is super convenient. This approach tends to work because the '.local' domain is a special reserved word. You should be able to navigate to on your iPhone.
If You'd Rather Type A Hostname Instead of IP Address