Forum Moderators: phranque

Message Too Old, No Replies

htaccess-subdomain dns wildcard problem

         

mrgubu

7:55 pm on Dec 11, 2007 (gmt 0)

10+ Year Member



I have upset dns wildcards for mydomain.com to make "ficticius" subdomains.

The problem I have now is that the "real" subdomains don't work, they all redirect to the main page of mydomain.com

Eg, I had working blog.mydomain.com before to upset the wildcard dns. Now, if i type in the browser blog.mydomain.com, I see the content of mydomain.com instead.

How I can solve this? Thanks.

jdMorgan

8:58 pm on Dec 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That would depend on what settings changes you made to your DNS zone file.

If you defined all subdomains as pointing to your server IP address (the usual meaning of wildcard), and your server was also configured to to point all subdomains to your root ridrectry, then the results you see are what would be expected.

There is no difference between a 'real' subdomain and a wildcard subdomain -- It is up to you to configure your server to handle them as you desire.

Jim