It is usually best to add both the root domain and the Make sure that there is only one space or tab between the IP address and the domain. Within your hosts file add an entry at the bottom, using the GridPane server IP address you wish to redirect to IP and the live domain you wish to redirect away from. WindowsĬ:Windows/System32/Drivers/etc/hosts MacOS The locations for Windows, macOS, and Linux are detailed below.Īlternatively, if youâd prefer to use software that makes it a bit easier to do the same, you may want to use Gas Mask (for Mac) or Hosts File Editor (for Windows). To edit your hosts file manually, simply locate it on your system and open it up in your preferred text editor. Docker Desktop on Mac and Linux allows you to use the hostâs SSH agent inside a container. Edit your Hosts file to create the URL redirect In this article, we will use a simple example to go through the process of editing your hosts file to enable this. Allowing you to test the migration before swapping over DNS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |