View Single Post
  #1 (permalink)  
Old 06-24-2009, 04:15 PM
ÃђмёÐ † ŊΐτџŁ's Avatar
ÃђмёÐ † ŊΐτџŁ ÃђмёÐ † ŊΐτџŁ is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
ÃђмёÐ † ŊΐτџŁ is on a distinguished road
Cool Wildcard DNS for *.tld

Hello,

I need a server's DNS set to catch all the domain send request to it, for an example:

Someone try's to visit Example Web Page which NS are ns1.myparkingdns.com ...

So, It show an website when the request is made, however there are no domain parked or hosted as example.com in my cPanel.

I have done it before with ServerAlias in httpd.conf like below :

NameVirtualHost x.x.x.x:80
<VirtualHost x.x.x.x:80>
ServerName example.com
ServerAlias *.info *.org *.mobi *.us *.tel *.me *.de *.co.uk *.eu *.asia *.cn *.name *.ag *.bz *.hn *.mn *.sc *.lc *.vc *.me.uk *.org.uk *.tv *.ca
ServerAlias *.ws *.cc *.nu *.in *.co.in *.net.in *.com.in *.au
DocumentRoot /home/myusername/public_html
ServerAdmin example@uff.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/example.net combined
BytesLog /usr/local/apache/domlogs/example.net-bytes_log
## User nitul # Needed for Cpanel::ApacheConf
<IfModule !mod_disable_suexec.c>
User example
Group example
</IfModule>
UserDir enabled example

***

However: It's not working anymore since we moved to cPanel from Plain Apache Configuration. I guess there are some config mismatching with cPanel and Apache.

Anyone have Idea how to fix it ? I need to get that 4000+ domain's up and working ASAP

Best wishes,
Ahmed Nitul
Reply With Quote