How to Change WordPress Site to Use a Totally New URL on the Same Droplet?
Hello, please bear with me.
I am rebranding a blog that I run. I’m looking to change my website URL only (from domain1.com to domain2.com), and for it to continue existing on the same droplet.
Right now, I have backed up my droplet as it currently sits. I’ve purchased a new domain (domain2.com) and linked it to the same droplet (there are two domains linked to one droplet now)
The new domain (domain2.com) does not have an SSL certificate, the old domain does (https://domain1.com). Even though it is linked to my droplet, typing it in the URL bar takes me to a generic “Welcome to nginx!” page.
Question 1: Given my current position. What are my options to begin using (domain2.com) as my main wordpress domain? I know that installing a SSL certificate needs to happen. At what point though? I also know that I need to change the URL in the wordpress general settings to (domain2.com), but when do I do that?
I’ve been reading through similar questions online, but am apprehensive in beginning this task without knowing exactly what I’m doing. (domain1.com) is about a year old, with 300 posts, multipleplugins, SSL installed. I hope everything to be switched over to (domain2.com).
Can someone please provide steps for me to follow?
Thank you for your help and time.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.