The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to modify Apache for the DNS

Discussion in 'Bind / DNS / Nameserver Issues' started by cLub2Share, Nov 20, 2005.

  1. cLub2Share

    cLub2Share Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    united Arab Emirates
    cPanel Access Level:
    Website Owner
    Twitter:
    Hello

    Could someone please tell me first where do i find Apache in any Folder that i need to add DNS

    Example

    i need one of my domain name

    if user enter http://anything.thesite.com it will retern them to the main page i know there is something i need to modify in the apache but right know i dont

    if someone can take time to explain

    Thankyou very much :)
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    A server alias enry in httpd.conf should do the job

    ServerAlias *.domain name domain name

    Also edit the db record accordingly as well.
     
Loading...

Share This Page