Question

One domain is not working, the other is working perfectly. What's the problem?

I have setup two domain names with digitalocean, both are set up the same way. One domain, ablundberg.com, is working just fine. The other one, lundbergandassociates.com, cannot resolve and this is after five days. Is there something I have messed up and need to change or what should I do? I am using Apache with lundbergandassociates.com being the ServerName and ablundberg.com is a ServerAlias. The website is run with Django and both are added to Allowed_hosts. Their A names are also the exact same.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @DavidWithRemovedLastname,

The issue doesn’t seem to be your droplet but with your DNS. From what you’ve provide us with I can’t make sense where exactly is the problem so I’ll tell you the solution.

For your domain lundbergandassociates.com go to your Control Panel and make sure to create two records. The first one would be an A record :

Hostname     Will Redirect To     TTL
@            Your Droplet's IP    800

The second record would be for your wwww.lundbergandassociates.com, this time, it would be a CNAME record

Hostname    Is An Alias of                TTL
wwww         lundbergandassociates.com    800

Once you’ve done this, your issue should be resolved.

Regards, KDSys