How to install separate Wordpress on a subdomain?

May 10, 2017 5.2k views
WordPress Ubuntu 16.04

I have a droplet with one-click Wordpress installed on it. Things are working perfect for now.

Now I want to install another Wordpress on a subdomain of the same domain I am using with the droplet. My concern is to ask if I can install another Wordpress on the same droplet and how can I point a subdomain to it?

Let me know your suggestions. Thanks in advance.. :)

2 Answers

Yes you can. Your domain is for example on main site.
subdomain is you have to install wordpress in this new folder => test.
You can find it in /public_html atleast on my homeserver it is.
Also you have to create a new database for new wordpress.
Sorry for my english. :)

  • It is not as simple as it sounds. I have tried the ways. How to point the subdomain to the directory??

    • When you creating subdomain you should have field to point the directory. Do you use any of those control panels like Cpanel or Webmin, Cpanel,Ajenti

Absolutely you can. Just get your DNS sorted out (add the subdomain in there) and you should be fine.

  • My concern is on how to configure the directory and subdomain. Also, I want to have cloud flare integrated. How can I configure that?

Have another answer? Share your knowledge.

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