Ok, ive setup WPMU on a domain, the whole setup seems ok and blogs are created on subdomains.
Now, i know your thinking this is a WMPU issue but bear with me as its not, its VHosts or DNS related.
Most of the time the subdomains work correctly and go to the correct blog, any other sub domains go to main site which is how it should work.
Every so often the subdomains will stop working and return a 404 error, sometimes 502 (Bad Gateway).
To fix this i have to edit the DNS for the site and change:
* 14400 IN A 0.0.0.0
to:
*.domain.tld. 14400 IN A 0.0.0.0
(ive changed the IP myself obviously)
After which i:
service named restart
service httpd restart
Then i flush my dns and alls ok again.
The only things i notice in all this is that the *.domain.tld. in the DNS entry always changes back to *
and pinging the sub domain returns:
C:\Documents and Settings\Steven>ping sub.domain.tld
Ping request could not find host sub.domain.tld. Please check the name and try again.
Its also worth mentioning that when the subdomains stop working the main domain.tld still works without any problems.
So there you have it, and please correct me if im wrong but this seems to be either VHosts or DNS related so any suggestions are more than welcome.
Cheers.
Now, i know your thinking this is a WMPU issue but bear with me as its not, its VHosts or DNS related.
Most of the time the subdomains work correctly and go to the correct blog, any other sub domains go to main site which is how it should work.
Every so often the subdomains will stop working and return a 404 error, sometimes 502 (Bad Gateway).
To fix this i have to edit the DNS for the site and change:
* 14400 IN A 0.0.0.0
to:
*.domain.tld. 14400 IN A 0.0.0.0
(ive changed the IP myself obviously)
After which i:
service named restart
service httpd restart
Then i flush my dns and alls ok again.
The only things i notice in all this is that the *.domain.tld. in the DNS entry always changes back to *
and pinging the sub domain returns:
C:\Documents and Settings\Steven>ping sub.domain.tld
Ping request could not find host sub.domain.tld. Please check the name and try again.
Its also worth mentioning that when the subdomains stop working the main domain.tld still works without any problems.
So there you have it, and please correct me if im wrong but this seems to be either VHosts or DNS related so any suggestions are more than welcome.
Cheers.