Question

Domains only working with www

Hi I have two domains on a virtual host that have been up and running for maybe two years, but mostly idle. I initially had this problem, and fixed it by setting up separate A records for both www.mysite.com and www.myothersite.com. (I may have created the second A record for the alias without the www. It’s been a while.) Now that I need to update the sites I find that the problem is back. The sites are krowdzilla.com and krowdproject.com. The error I’m getting is “www.krowdzilla.com refused to connect.” I did reboot the server (Ubuntu/Apache) today before discovering the issue. Thanks for any help.


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.

I’m not certain, but I think I’ve found the problem. I think that: A) There was a problem. B) Chrome cached the problem. C) After the fix, Chrome displayed the cached error page. So the original problem became a local problem. Clearing the cache seemed to fix the problem. Then it came back. I’ve cleared it a second time and seemingly fixed it again. Crazy. Hopefully it’s resolved. Edit: It came back. Even after deleting cache/browsing history, Chrome was autofilling my domain name. I went to myactivity.google.com and sure enough there’s all my browsing history. I had to manually delete each reference to my site. Knock on wood. It may be fixed.

Hi @jonsidener,

I can see both domains are working as expected now. Glad to see you managed to resolve the issue!

Anyway, what I would thought the problem would have been is your Apache configuration files and possibly missing the www versions of your websites inside. Is that correct?