I would like to know how to change my Linux host name and also give it an alias name. For example, it will have a formal name "EBGP- @CPE00400501f9a6:", and also an alias such as "FileServer001". Is it possible?
I think I can use command =91hostname' to change the Linux host name at runtime, and many other ways to do so. I just don't know how to assign it an alias name. Any idea?
I also would like to enable file transfer between a windows host and a linux host, within the same corporate network. By default every corporate network has DNS server and DHCP server, so I think the windows host and the Linux host can find each other via either their host names, or their alias names. For special case, I also want a host outside of the corporate network to transfer files with another host inside of the corporate network, so I prefer the file transfer via HTTP, which is more likely to pass the firewalls with less trouble than other protocols. Is there any samples codes available for this solution? Is there any potential risk for this technical solution?
Thank you and Merry Christmas!