title: From my XYZ Server's IP to my Yahoo Domain - htaccess settings
body: <p>Hello there and I apologize if this has been posted already.
  I would need some help, I am a novice as you can see.</p>
  
  <p>Here is the Issue:
  The web site has been finished and needs now to go "live".
  My current website is on a xyz cloud server with the IP 65.61.xxx.xx, which when entered in the browser shows my site correctly etc.
  Now I need to change the IP address to the domain name which is hosted via Yahoo.</p>
  
  <p>As been instructed, I would need to create a re-write rule in the htaccess (in the main root folder?), is the below correct and can this be applied to an IP address as the HTTP_host too?
  Besides the above change do I need to change any other setting on my server or anywhere else?</p>
  
  <p>RewriteEngine on
  RewriteCond %{HTTP_HOST} 65.61.xxx.xx.com [NC] 
  RewriteRule ^(.*)$ <a href="http://www.newyahoodomain.com/" rel="nofollow">http://www.newyahoodomain.com/</a>$1 [L,R=301]</p>
  
  <p>If I only enter the newyahoodomain.com/ in the web browser it shows "It works! This is the default web page for this server. The web server software is running but no content has been added, yet."</p>
  
  <p>Sorry for this question, and I appreciate your reply! 
  Thanks, Steve</p>