Cname webserver is functioning normally

inomi13

Verified User
Joined
Jan 7, 2022
Messages
162
I have added record cname store.example.com to domain example.com. After that store.example.com shows info webserver is functioning normally. What should I do to show content of main domain?
 
Did you add a dot at the end of the cname record so not store.example.com but store.example.com. with the dot at last?
 
@Richard G Yes, cname value has automatic dot at the end. I have add only value as store.

Maybe should I to reconfiguration virtual host for domain example.com. What do you think?
 
Last edited:
I don't know, maybe that is an option. I almost never use cnames either. So maybe a virtual host customisation is possible indeed.

Another way is to create a real subdomain store.example.com and then put in an automatic 301 redirect to example.com. Then you don't need any customisations.
 
Subdomain have option to pointer DOCUMENT_ROOT into the Main domain or other DIR.
 
Back
Top