Can access sub domain only by domain.com/subdomain

thebrownieable

Verified User
Joined
Dec 29, 2013
Messages
5
Hi guys,

The domain I have in question is mobile.zerobrainwash.com . I have no idea how to solve this problem? Do any of you know?

I would greatly appreciate any help :)
 
There is no DNS record for that subdomain.
You should have an A or Cname record for a subdomain to work.
 
Thanks Richard for help, greatly appreciated.

Sorry for my ignorance but how do I add A or CNAME record for subdomain?
 
I suggest you rename the folder mobile to mobile-backup and then create sub ​​domain again via Directadmin if it does not exist.

If exists, delete and create again called mobile.

Then delete the folder mobile via FTP / file manager and rename mobile-backup back to the mobile.

It is not only cname or A you need for subdomains, you need also configure httpd-file, but it does not need if you create throgh DA
 
For completeness:

If you add a subdomain through DirectAdmin and it doesn't work as a subdomain, but does when it's called with a subdirectory name, then it's likely because your DNS isn't handled on a different DNS server.

DirectAdmin creates a zone file for the subdomain when you create it on DirectAdmin, but if the main domain's DNS isn't handled on your same DirectAdmin server, then the DNS system won't know to look for it. You can fix this by creating an NS record for the subdomin, or an A or CNAME ecord for the subdomain, in the main domain zone, wherever it's located.

Jeff
 
Back
Top