Question

www.... does not work in my domain but *.domain.com works please help me to solve this problem

www.mydomain.com does not work mydomain.com works *.mydomain.com works


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.

@parvinwork

Without knowing the domain, we can’t really check the DNS to see what is or isn’t valid. With that, my suggestion would be to make sure your DNS looks like:

A          @          DROPLET_IP
A          *          DROPLET_IP
CNAME      www        domain.com

… and that your VirtualHost (Apache) or Server Block (NGINX) is setup properly. Of course, these are just suggestions. We’d need to check your DNS and look at the configuration if the DNS matches the above.

What is the actual domain?