Troubleshooting two domains pointing to the same droplet

  • Posted August 18, 2014

Hi All

I have two domains and I’m trying to drop the hosting I have for one of these and point it towards my existing DigitalOcean droplet.

Currently I have set up and functional and a virtual host set up for

I’m trying to point to a virtual host in my droplet reading source files from /var/www/ I’ve have a conf file “” for the sites enabled (I registered it as well) with a configuration

<VirtualHost *:80>

	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/
    <Directory /var/www/>
        AllowOverride All

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

I’ve changed the name servers for to point at DigitalOcean and have zone files with matching A records pointing to my droplet.

A @    

for both of them.

I’m a little stuck right now. I’ve tried a number of tutorials but I haven’t seen one that’s been able to help me with this.

I suspect its a DNS problem but I don’t know what to do to solve it. Can someone please help?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This comment has been deleted

Sometimes DNS changes can take a while to propagate. It looks like it is working …How long ago did you make the changes?