Web Page Hosting

Web Hosting | Dedicated Server Hosting| Cpanel Hosting | VPS Hosting | Windows Hosting | Windows Reseller

Wildcard DNS record

February 28th, 2008 by bob

A wildcard DNS record match all requests for non-existent domain names in a DNS Zone, i.e. domain names for which there are no records at all. The wild cardcharacter, used to search for text, that may represent any character or set of character. A wild-card character is like a wild card in a card game, which may represent any other card in the deck. Wildcard DNS allows setting up a host to respond to any particular hostname in the domain.
For eg : xyz.domainname will show domainname page
Implementing the following step you can set up Wild Card—————————————————————–
Enter the entry in Zone file ::
For eg :
#vi /var/named/domainname.db
; Modified by Web Host Manager
; Zone File for domainname
$TTL 14400
@ 86400 IN SOA ns1.micfo.com. cpanel.micfo.com. (
2006062906
86400
7200
3600000
86400
)
domainname. 86400 IN NS ns1.micfo.com.
domainname. 86400 IN NS ns2.micfo.com.
domainname. 14400 IN A IP
localhost.domainname. 14400 IN A 127.0.0.1
domainname. 14400 IN MX 0 domainname.
mail 14400 IN CNAME domainname.
www 14400 IN CNAME domainname.
ftp 14400 IN A IP
*.domainname. 14400 IN A IP
Due to clustering, this entery should be present on the all the Servers from where the DNS for the domain is resolving.
After entering this entery restart named on the Server.
Also, the entry has to be made in virtual host on the server ::
——————————————————————————
For eg :
#vi /usr/local/apache/conf/httpd.conf
ServerAlias www.domain.com domain.com *.domain.com
ServerAdmin webmaster@domain.com
DocumentRoot /home/user/public_html
BytesLog domlogs/domain.com-bytes_log
ServerName www.domain.com
User user
Group user
CustomLog /usr/local/apache/domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/

once you finish this, restart Apache server.

Posted in Linux Web Hosting, web hosting | No Comments »


A special offer from Micfo for New signups. Dedicated Web Hosting VPS Web Hosting Coupon Code: Raidx-micfovps Get a recurring 10 % discount on every new VPS Hosting Signup. Dedicated Web Hosting Coupon Code: Raidx-micfodedicated Get one time 5% discount on any Micfo Dedicated Server Hosting package.

  • Web Hosting Blogroll


    Windows Hosting
    Windows Shared Hosting

    VPS Hosting
    VPS Hosting plans

    Dedicated Server Hosting
    Dedicated Server plans

    Business Web Hosting
    100% uptime Hosting

    Cpanel Hosting
    cPanel Shared Hosting

    Reseller Hosting
    Reseller Web Hosting

    Windows Reseller Hosting
    Windows Reseller Hosting

    Windows VPS
    Windows VPS Hosting

    Archives

     

    July 2009
    M T W T F S S
    « Mar    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  

    Categories

    Blogroll

    Meta

    Recent Comments

      Pages

      Recent Posts

      Tags

      Search Posts