Issues With Wildcard DNS

bestdealstop

New member
Joined
Sep 14, 2009
Messages
1
I have used Direct Admin for some time, but on my latest server(Centos 5 32bit)
I am having issues with domains that I have set for wildcards resolving correctly.

I go to DNS administration, and set A record to * with the ip address.

I then go to custom httpd config and set the ServerAlias *.|DOMAIN|

I then try to install wordpressmu on the domain and it tells me that the wildcards are not set properly.

I then go to services, and stop httpd and named and restart them, and it allowed me to finish the install of wpmu. I can reach the main domain, and add a subdomain blog, but after a while it stops resolving the subdomain.

Does anyone have any idea what I could be doing wrong?

Thanks
 

Thanks but I did this already.

The first item I did it, no problem :

1) Setup the dns with a wildcard A record. Go to Dns Control, and add an "A" record:
* -> 1.2.3.4
where 1.2.3.4 is the IP of your domain.
This will allow anything.domain.com to resolve to your server. Apache does not yet know how to direct that name though.

But the second, I can't reach Admin Level -> Custom Httpd configurations ->

Is this because I am on a shared server?

I have access to an DirectAdmin panel but don't know how to access like the above.

OTH Why would someone use this wildcard sub-domain thing anyway?

I mean, I need to use it for the new Multi Site feature of the new Wordpress3 but otherwise, why would you use it for?

Also, I have a problem here.

I did communicate with my host company to help me configure the wildcard. I succeeded with configuring the first item setting the DNS with a wildcard A record but after that, all my sub-domains that where there before my manipulation are now pointing to the domain.

I had pianos.mariobruneau.com working before but now, it goes to mariobruneau.com. So I immediately undo the first item but still, the sub-domains point to the domain.

I know I sound like a newbie because that's exactly what I am, a newbie with Apache, php, wordpress and the like but I manage, thanks to people like this board how help others.

Thanks for your help.

Mario Bruneau
 
Back
Top