Why isn't my site available via the www prefix?

July 28, 2013 24.1k views
mydomain.com works great - but www.mydomain.com doesn't (I get server not found error).
2 comments
8 Answers
goto : DNS -> SELECT DOMAIN -> ADD RECORD -> Select record type "A"

hostname : www
IP Adress : your droplets IP
  • You took me out of grave....thankyou .....I was scratching my head for 3 days for this issue.....Thankyou again.....a small post of your 3 years old…helped me in 2016

  • Hi Dear “mail189778” Good one dear really help us out, Thank you so much

  • I was looking everywhere on Google for about an hour to find a solution to the same issue on AWS and found this post. Did exactly as stated and it worked as a charm. Kudos +++++

  • I already have A record but it is not working. what else could prevent my site redirecting to my API? thank you for your reply.

Worked for me thanks @mail189778

Are you trying to force the use of the www subdomain or do you simply want your site to be accessible via the www subdomain?
thanks guys those a record instructions above worked. thanks!

A Record updated as mail189778 said its works, Thanks

Even after 5 years, when I run into the same issue, mail189778’s help still works! DigitalOcean should put it to documents.

A

www.jocloud.com Copy
directs to
167.71.153.9 Copy

3600 Copy
More
A

jocloud.com Copy
directs to
167.71.153.9 Copy

3600 Copy
More
NS

jocloud.com Copy
directs to
ns1.digitalocean.com. Copy

1800 Copy
More
NS

jocloud.com Copy
directs to
ns2.digitalocean.com. Copy

why isnt mysite working?

Have another answer? Share your knowledge.