How to work with multiple domains on the server of a droplet?

Posted January 6, 2016 1.7k views

I have a droplet configured for one domain. I can access via ssh to the server and I have two domains configured there. Both domain names are on GoDaddy and are pointing to the Droplet IP.

What happens here is that the second domain I had configured is redirecting to the first domain that was set previously. I already modify and add another VirtualHost and also tried to reload and restart apache but it does not seem to work, however, the site never stops working even with apache shut down.

1 comment

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
1 answer

Hi there!

This sounds like DNS propagation or browser cache (as was previously mentioned) to me. Usually DNS propagation clears up around 4-6 hours, with 48 hours being the general rule. Are you seeing this as working better now? It not, feel free to open up a ticket and give us the domain(s) in question and we would be happy to take a look for you!

If I can be of any further assistance, please be sure to let me know.

Kind Regards,
Platform Support Specialist