URL or Website monitoring without adding Host definiation


I want to monitor URL or Websites only in nagios without adding Host definition file.
in host definition I have add ip of the host also , but the ip is not fixed. like www.yahoo.com

Is it possible .

I have tried without adding host but its not working .