Why does my site only work with www (or only without)?

Quick answerBeginnerUpdated

Short answer

One of the two versions has no DNS record, or no redirect between them. Make sure both yourdomain.com and www.yourdomain.com resolve, then redirect one to the other so there is a single canonical address.

Learn more

All troubleshooting questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results