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’.
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.