Report this

What is the reason for this report?

Domains only working with www

Posted on July 29, 2021

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.



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!

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.

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.