I have done it a week ago here is the instruction
Step 1.
Click the Windows button and type Notepad in the search bar.
Step 2.
Right click on Notepad and then Run as Administrator.
Step 3.
You’ll be asked, “Do you want to allow this app to make changes to your device?”. Choose Yes.
Step 4.
In Notepad, choose File then Open.
Step 5.
Navigate to C:\Windows\System32\drivers\etc\hosts or click the address bar at the top and paste in the path and choose Enter. If you don’t readily see the host file in the /etc directory then select All files from the File name: drop-down list, then click on the hosts file.
Step 6.
Add the appropriate IP and hostname (192.185.115.124 domain.com) at the end of your hosts’ file, select Save, and then close the file. (make sure there is a space between ip address and domain)
Step 7.
Click the Windows button and type cmd in the search bar.
Step 8.
Open cmd file
Step9.
Type:- ipconfig /flushdns
Step 10.
Now open your website in browser
Step 11.
If everything is working 100% on your website.
Step 12.
Remove your ip address and domain from C:\Windows\System32\drivers\etc\hosts and save file
Step 13.
You can now point your dns from your domain registrar to …
ns1.theprofithost.com
ns2.theprofithost.com
or to your new hosting server the above was mine