Hello guys,
Sorry for bothering you with this none sense but i would like to set some hosts in centos, and honestly i didn't found where
i would like to have something like system32/drivers/etc/hosts
i mean i want to change an ip of a existing domain, for example i would like that google.com to have xxx.xxx.xxx.xxx ip
obviously this would be only for my server, but i need this to refresh an iframe in via curl page in cronjobs and i'm lost, it seems to be the last solution
can somebody please tell me where can i set those hosts?
i tried in /etc/hosts like
127.0.0.1 example.com
and made a iframe with example.com but this still works as normal, can somebody please tell me how can i set it up?
Thank you, Emanuel