How do I move my wordpress to a new folder?

Posted July 12, 2016 2.8k views

I’m a new user. I followed the instructions and i installed Wordpress. But I will install 2 or 3 web sites to the same IP. How can I move the Wordpress to a new folder?
Thank you

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.

Submit an Answer
2 answers

Depending on your webserver, the minimum would be to change the DocumentRoot (with Apache) or root (with nginx). See the tutorials on creating virtual hosts for Apache on Ubuntu 16.04 and NGINX on Ubuntu 16.04

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.

I follow this two tutorials.
Initial Server Setup with Ubuntu 16.04 and How To Install WordPress with LAMP on Ubuntu 16.04

The only think that I’m afraid is to destroy the Wordpress if I moving it.

by Mitchell Anicas
When you start a new server, there are a few steps that you should take every time to add some basic security and give you a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 16.04.