We are hosting our primary domain on HostGator, and we've recently created sub-domains on the primary domain with the following format: SubDomainName.PrimarySiteName.com
I can open the sub-domain files through the cPanel, and the folder that each sub-domain should take content from is correct. But when we try to open the sub-domains in the browser, we get the following error: "Server not found". It has been more than a month for now from the time we created the sub-domains. Also, sub-domains will sometimes open on one computer, but not another.
Using the CPanel for your account with Host Gator simply click on "Simple DNS Zone Editor" and then finally ADD an "A Name" for the sub domain. Your "A Name" would be your complete sub domain URL. Example: subdomain.yourmaindomain.com AND than add the IP address for your main domain.
I had this issue and was able to resolve it by simply adding the single A Name record.
Once you create your subdomain, the DNS records are normally created for you by your host. Most likely, you'd need to wait just a few hours before the subdomain becomes available.
You can however access your subdomain in the meantime using one the following methods:
http://ipaddress/~username/subfolder/ -OR- http://servername/~username/subfolder/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With