Docker for mac hosts file3/27/2023 ![]() ![]() The /etc/hosts file contains a mapping of IP addresses to URLs. ![]() For example, a domain name will often be routed to a live site while development is ongoing on a separate server.īefore the website is made public, you can view a development or prelaunch website with a custom domain name by modifying the /etc/hosts file on your local machine to point the custom domain name to the IP address of the environment you want to test. You may want to review a website with a custom domain name before the domain is publicly mapped to the website. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |