Question

I have A record pointing to my machine but I can only see the domain and not the www.domain

I am running wordpress on an Ubuntu machine and I have had the domain registrar point the domain’s A record to my machine (zahavi-ltd.com), however I cannot access the site through www.zahavi-ltd.com. At first the www would point back to the old site but after fiddling around with my 000-default.conf file and creating another A record with the domain registrar that points www.zahavi-ltd.com to my ip I get nothing and when I try to ping the www it cannot find the host. Obviously I am doing something wrong Please 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.

You’re likely just missing a CNAME record for the www subdomain. Can you post the full .conf file showing your records?