Web Hosting Talk







View Full Version : Wildcard subdomain with hsphere


gc73
06-21-2008, 08:05 AM
Hi,
I have setup a wildcard subdomain so *.mydomain.com automatically points to main.mydomain.com (fixed ip), which I have working. But the problem is that www,mydomain.com now points to main.mydomain.com too, but I'd like it to point to mydomain.com. Is this possible?

I have a hsphere reseller account.

Gareth.

joltdigital
06-21-2008, 09:20 PM
Go in to the dns manager in the end user cp and add an A or cname record for the 3rd level domain pointing where you want it. The only time the wildcard resolves the domain is if you do not have an entry for the 3rd level in your zone file.

gc73
06-23-2008, 07:07 AM
Thanks for the response. I've added it as a cname and now I'm getting the "under construction" page for the www subdomain.
I've set the cname up as www,mydomain.com -> mydomain.com

Any ideas why it doesn't display the site at mydomain.com?

anatolijd
06-24-2008, 02:07 PM
try to add A record instead of CNAME

Dustin56
06-25-2008, 02:18 AM
Yep. It's an A record that you need.

gc73
06-25-2008, 04:03 AM
Thats giving me the same results. Would it be because mydomain.com is a shared IP?
Its the main.mydomain.com that has the fixed ip.