Use multiple domains for the same website?

Posted June 11, 2017 4.4k views

I recently decided to change the domain name of my website. I have a lot of links to my old domain name and i dont want to lose them. So I want my new domain and my old domain both to point to the same website. This is not hosting multiple websites in one droplet. This is adding two domains to a single website in a single droplet.

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 just point your new domain to the IP address of your droplet.

Maybe you also need to create a new vhost for your new domain.

Set the DNS for both of your domains to point to your droplet.

Then configure two virtual hosts as follows:

<VirtualHost YOUR_IP_HERE:80>
<VirtualHost YOUR_IP_HERE:80>
Redirect 301 /