Changing web address and redirecting


I’d like to change a web address of my existing website. Then I’d like to redirect the old address to the new one.
I have both domains fully hosted.

What are the best steps?

Much thanks!

create a file called .htaccess in the root of your old web server, with the following line

(The / at the end of the line is important!)


As I’m inexperienced in PHP, how do I get to the root of the old server. Where is it located?

I have no idea which is old and which one a new server.
Just being new…

Thank you!