Change URL in Wordpress
Hello good day I need help with the following it turns out that I have already done everything explained in the videos to have PHP, MYSQL and Wordpress installed, in a single Droplet but now I need to make the following change and it is the following buy this domain: tgvshoes. com, I have the domain configured in cloudflare.com, I need to make the change on my website in Wordpress, so that instead of this address: http://18.104.22.168/, I am redirecting to this domain tgvshoes.com, I already made the change of the URLs in Wordpress but what is happening to me is that every time I make this change I lose access to the Wordpress wp-admin and the website is also damaged, many times connecting to the database error data. The error message is this: error establishing a database connection wordpress, please if anyone can help me with this since I have been trying to solve this error for several days and on the Internet the only documentation I have found is for Web Hosting servers such as Blue Host and Go Daddy example to give an example, but from Digital Ocean I have not found precise information about this specific error.
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.×