Switching my domain name from one site to a different one

I currently have one of my domains connected to a wordpress site. I wish to move the domain to a site that I created on wix. I can not for the life of me figure this out. How can I remove my domain from wordpress and connect it to the DNS ns1.wix.com and ns2.wix.com? I want to emphasise that I do not wish to transfer my host from dreamhost to wix. Just my domain from a wordpress site to a wix site. Every time i search for help on this all I can find is instructions for switching hosts. Anyones help is much appreciated. Thank you

You may change your name servers via your control panel. Once logged into your panel click on Domains > Manage Domains > Click DNS beneath the domain you wish to modify. From there you may change the name servers to wix’s. We have written a wiki which can guide you through the process here: http://wiki.dreamhost.com/Nameservers