Question

I have created my droplet with 1 click wordpress. I have added one website and now I want to add another website. What I have to do?

Posted October 17, 2017 2k views
Ubuntu WordPress Networking One-Click Install Apps Ubuntu 16.04

Problem is : I have created my droplet with 1 click wordpress. I have added one site and it is working perfectly. Now I want to add another website. But the problem is that After adding new website, It is showing the content of previous website in this domain too. How to solve this error. I am newbie to DO.

I have already changed the nameserver of both the website. Add new domain from ‘Networking’ and 'Add a new domain’.

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.

1 answer

Depending on which server you are running you need to set up a virtual host. If you used Nginx you need to set up additional server blocks, if apache you need to look at vhosts.

This will allow a single droplet to serve multiple websites with different domain names. Make sure all your domain names have an A record pointing to the same IP of the droplet.

Submit an Answer