Results 1 to 4 of 4

Thread: How to Setup Wildcard DNS

  1. #1
    Join Date
    Jul 2009
    Posts
    17

    How to Setup Wildcard DNS

    Hi Guys, i have a redhat linux with apache web server. apache2. I want to setup a wildcard dns so that i can redirect anyone comming to my websites, any link directly on the home page. Suppose if my site is redguy.com and someone wants to go to abc.redguy.com, he should be redirected to the home page. I don't want any one to direct link my page. Please help guys... Thanks.

  2. #2
    Join Date
    Jan 2009
    Posts
    140

    Re: How to Setup Wildcard DNS

    A wildcard DNS record is a record in a DNS zone that will match requests for non-existent domain names. A wildcard DNS record is specified by using a "*" as the left most label (part) of a domain name, e.g. *.example.com. The exact rules for when a wild card will match are specified in RFC 1034, but the rules are neither intuitive nor clearly specified. This has resulted in incompatible implementations and unexpected results when they are used.

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: How to Setup Wildcard DNS

    Create a file at /home/httpd/vhosts/yourdomain.com/conf/vhost.conf and save the following content in it :

    Code:
    ServerName www.yourdomain.com
    ServerAlias *.yourdomain.com

  4. #4
    Join Date
    Jul 2009
    Posts
    17

    Re: How to Setup Wildcard DNS

    Thanks for the replies mates.. Will try it out and get back if there arises any problem...

Similar Threads

  1. X- Copy directory wildcard use
    By Beryl in forum Operating Systems
    Replies: 4
    Last Post: 27-03-2010, 07:57 PM
  2. Problem with wildcard function
    By ASHER in forum Software Development
    Replies: 4
    Last Post: 16-02-2010, 02:57 PM
  3. What are the different Wildcard characters in SQL?
    By Leana_rus in forum Software Development
    Replies: 3
    Last Post: 25-11-2009, 10:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,716,543.73521 seconds with 16 queries