Question

Troubleshooting two domains pointing to the same droplet

  • Posted August 18, 2014

Hi All

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

Currently I have cfust.com set up and functional and a virtual host set up for dev.cfust.com.

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

<VirtualHost *:80>

	ServerAdmin webmaster@localhost
	ServerName dawsonillustrations.com
	ServerAlias www.dawsonillustrations.com
	
	DocumentRoot /var/www/dawsonillustrations.com/public_html
	
    <Directory /var/www/dawsonillustrations.com/public_html/>
        AllowOverride All
    </Directory>


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

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

A @              162.243.130.240

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?

Subscribe
Share

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?