hi, i wanna upload two websites in a droplet, what you recoment me

December 15, 2015 1.7k views
Server Optimization Miscellaneous DigitalOcean

i have a droplet of $10, but that droplet only have one ip adress, i wanna now if is good idea buy two domains with one ip adress, or is best have two droplets for every website, it's the same, or would affect my SEO website, thanks,

1 Answer

Hosting multiple sites on a single droplet is absolutely possible, follows best practices and should not have any negative affect on SEO. This is generally done with a virtualhost configuration in your web server. This way the web server checks what domain is being requested and serves the correct content. You can read more about setting up virtualhosts here.

by Justin Ellingwood
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 14.04 VPS.
Have another answer? Share your knowledge.