Two Domains on one Droplet

Posted May 10, 2014 2.8k views
Is it possible to direct two Domain names (or more) to one Droplet. If yes, is it possible to redirect each doamin name to different sub-folder?

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.

Submit an Answer
2 answers
You can have as many domains as you want, all pointing to a different directory. Check out the tutorials section for virtual hosts if you're using apache or server blocks if using nginx.