[ad_1]
Hello, I have a WP website that’s currently only reachable with IP url, I’d need to assign it to a domain name. I’ve found the Better Search and Replace plugin and I though to replace in the database all the http://12.34.567.890 with https://mysite.com. I wanted to do this before DNS change, to prevent long downtime. Will it be enough to migrate my website or do I need other procedures?
Thank you

Your host should allow you to add domain names that will resolve to your site.
Add the new domain, if you can. Then switch the DNS and wait until its resolving. It will redirect to the IP address. Once that is all good, then run the search and replace on all tables and set the domain name to primary domain.
Make sure SSL is set up for the new domain, as well.
I recommend CloudFlare for DNS management. It’s super quick at propagating with the right settings.
You can’t really run BSR until your DNS is pointed to the site… I mean, you can, but you won’t know if it worked, unless you want to mess around with your ‘hosts’ file.
If you get setup in Cloudflare, DNS changes are instant, so the whole process just takes a few minutes.