How to install separate Wordpress on a subdomain?

May 10, 2017 289 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 www.wordpress.com on main site.
subdomain is test.wordpress.com 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

      • No. That is the whole concern. I am using it directly with DigitalOcean. No control panel.

        • So you install lamp server and then install wordpress ? directly on.
          Tell me how you install first wordpress and do you have LAMP server installed.

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.