Set up an external ip that accesses the server that your site is on. Create local and external DNS records giving the site a name.
In your moodle folder, change config.php file to reflect the dns name of the site.
Go to "yoursite.com"/admin/tool/replace/index.php and run the replace tool to update the database with the new dns name (backup database first!).
Then you should be good to go!