Last post Jun 04, 2009 02:36 PM by mcr_subbu
May 27, 2009 02:26 PM|mcr_subbu|LINK
I have a website say mywebsite.com
I have different clients to whom I want to give different sub domains. Each client whenever type subdomain.mywebsite.com then a common page (single aspx page) should open for them and the content in the page should be served dynamically based on the sub-domain.
For this after some googling I have set up DNS wild card A(host) record with godaddy. But it is not working. Can anyone tell me what else I need to do for this?
May 27, 2009 04:21 PMfirstname.lastname@example.org|LINK
I assume by "not working" you mean that when you browse to a host name that doesn't exist, such as foobar.mywebsite.com, you are redirected to the ever-popular
Dead or Alive page. If that's the case, then you have a problem with your DNS. Otherwise, you have a problem that requires the help of GoDaddy's support.
May 28, 2009 03:38 AM|carl.steinhart|LINK
based on the problem you elaborated, it is highly likely that you have a DNS issue. If you want client A to have, let's say, clientA.mywebsite.com/default.aspx and clientB as clientB.mywebsite.com/default.aspx, then you need to set the DNS for each of the
To check whether your DNS is working is pretty straight forward. You may try to PING clientA.mywebsite.com OR PING clientB.mywebsite.com and check whether it resolves to an IP. If it does, check whether that is the right IP. If it does not show anything, this
means that the associated A record is not created for clientB.mywebsite.com domain and clientB.mywebsite.com subdomain. In this case, you have to contact GoDaddy as your host and request them to create the A record for each of yuor subdomain.
Hope this helps....
P.S: Other alternative that you can try is to NSLOOK clientA.mywebsite.com or NSLOOK clientB.mywebsite.com. If it does not show any result, then the DNS is not properly setup...:)
Jun 04, 2009 02:36 PM|mcr_subbu|LINK
Finally I am able to resolve my issue. We need to add host headers in IIS for a sub-domain to work. But with this approach for each sub-domain we need to have one host header entry. Now the required sub domains are working for me :)