Question

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

Posted July 28, 2013 35.5k views
mydomain.com works great - but www.mydomain.com doesn't (I get server not found error).
2 comments

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.

×
Submit an Answer
8 answers
goto : DNS -> SELECT DOMAIN -> ADD RECORD -> Select record type "A"

hostname : www
IP Adress : your droplets IP

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?