Question

Troubleshooting two domains pointing to the same droplet

Posted August 18, 2014 2.9k views

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?

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.

×
1 answer

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

  • I made the changes on August 14th. I’ve never really had to mess around with DNS before so I can’t tell if it takes time to propagate or I’m doing something wrong.

    If I wanted to connect dawsonillustrations.com to a virtual server on my droplet is an A record the correct way to do that?

Submit an Answer