change_host_name
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
change_host_name [2023/04/03 08:03] – walkeradmin | change_host_name [2023/04/03 08:07] – walkeradmin | ||
---|---|---|---|
Line 39: | Line 39: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | We can now check the hostname from the console again using: | ||
+ | hostname | ||
+ | |||
+ | or | ||
+ | |||
+ | hostnamectl | ||
+ | \\ | ||
+ | \\ | ||
+ | The hostname returned will now be the one you set (mailsvr) in this example. | ||
+ | \\ | ||
+ | \\ | ||
+ | We also need to edit the following file: | ||
+ | / | ||
+ | \\ | ||
+ | \\ | ||
+ | Add a line at the end of the file with your <color # | ||
+ | < | ||
+ | 127.0.0.1 | ||
+ | ::1 | ||
+ | 150.10.10.1 | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
change_host_name.txt · Last modified: 2023/04/03 08:08 by walkeradmin