Can i install a new WordPress in this way?

I have a running WordPress site,Followed this tutorial to install it

Now i wish to install a New WordPress site in the same Droplet(Don’t wish to use Multisite).

Is it possible to install a new WordPress site by following the above tutorial in same way(Changing the directory address) and all other things as needed?

My Concern is actually about IP address,I can visit my site currently using the IP address, as in the NGINX config i am using IP address instead of domain.

In the above Tutorial of NGINX,I don’t think there is anything to change in the NGINX config files. In the step 6 we are copying the default and making changes in the copied file.

So,I just wanted to know,Just changing the IP address in the previous installation and pointing the previous and new installation to the domains will work?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

<ol> <br><li><code>rm /etc/nginx/sites-enabled/wordpress</code></li> <br><li><code>mv /etc/nginx/sites-available/{wordpress,}</code></li> <br><li>Edit <code>/etc/nginx/sites-available/</code>, set server_name to, and set root to /var/www/</li> <br><li>Copy it and modify it accordingly (e.g. instead of</li> <br><li>Link both to the sites-enabled directory: <pre>ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/ <br>ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/</pre></li> <br><li>Follow step 3 of <a href=“”></a> replacing <code>wordpress</code> and <code>wordpressuser</code> with the second domain’s name e.g. seconddomain. <br><li>Move the current site to its own directory:<pre>mkdir /var/www/ <br>mv /var/www/* /var/www/ <br>mv /var/www/.* /var/www/</pre></li> <br><li>Download wordpress for the second site:<pre>mkdir /var/www/ <br>cd /var/www/ <br>wget <br>tar xf latest.tar.gz <br>mv wordpress/* . <br>mv wordpress/.* . <br>rm -r wordpress</pre></li> <br><li>Finally, restart nginx: <pre>service nginx restart</pre></li> <br></ol> <br> <br>Replace all occurrences of with the website that you’re hosting currently on your droplet. <br> <br>Let me know if that works :]