The /etc/hosts
file can be used to override dns definitions, i.e. to point an hostname to a different ip.
I want to use /etc/hosts
to make an alias record, i.e.e to make my computer think that www.mysite.com does not point to a "hard coded" up but instead is synonym of mychangingip.myip.com.
Can it be done?