I am assuming you mean
www.yourdomainname.com ?
If so you can add an A record entry into your DNS for www and point it to the IP address of your website.
This way whenever someone goes to
www.yourdomain.com from inside your network it will resolve to the external IP address.