12/27/2022 0 Comments Mac os x hosts fileAs soon as you save this file the changes you made will take effect. Step 4: Use the menus to save or press Command + S to save. To add a new host entry, on it’s own line enter it in the format: Your hosts file will open in the application TextEdit. Sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts (Note: The sudo command requires an admin password to allow you to open this file as root.) Step 2: Enter the following command to open the local host file. Step 1: Open up a Terminal windows (this is in your Applications/Utilities folder by default) This allows you to work on the build environment and fully test prior to pushing the changes to the live production site. You can have a build environment and a production environment and simply point the host to the build environment on your machine, and your machine only, while all of the other users are directed to the live site. It has been archived and will no longer be updated, comments are closed and the page is provided for reference purposes only.Ī local DNS host file can be useful when developing a website. The contents of this article may be out of date.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |