Report this

What is the reason for this report?

I added CNAME and configured virtual host perfectly, but sub domain not working, please help me anyone…



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!

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.

Hello,

If this is going to be a separate website, I would recommend adding an A record for your subdomain name rather than CNAME. That way if the A record for your main domain changes, it would not affect your subdomain.

Also, note that it could take between 1 and 72 hours for the DNS cache to clear over the Globe before you could see your new DNS records.

If you are still experiencing the issue, you could share your Vhost here and I could try to advise you further.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.