The MU forums have moved to WordPress.org

problem creating subdomain (3 posts)

  1. Naughty
    Member
    Posted 18 years ago #

    Hello!

    Okey i have been reading forums for few weeks now but i just cant find what could be wrong with my site.. everything is working fine just subdomains does not want to work. I really dont know where the problem is! maybe serveralias?

    Below is what t have right now

    ---------------------------------------
    ServerAlias blop.si *.blop.si
    ServerAdmin webmaster@blop.si
    DocumentRoot /home/blopsi/public_html
    BytesLog domlogs/blop.si-bytes_log
    ServerName http://www.blop.si
    ---------------------------------------

    is this ok?

    i have also add to the dns zone
    ---------------------------------------
    *.blop.si 14400 IN CNAME blop.si
    ---------------------------------------
    do i have to put dot on the end?

    Thenx for help!

    Regards,
    Anže V.

  2. andrewbillits
    Member
    Posted 18 years ago #

    The following is a good "How To" on wildcard dns and subdomains.

    http://photomatt.net/2003/10/10/wildcard-dns-and-sub-domains/

  3. Naughty
    Member
    Posted 18 years ago #

    Ok for those who don`t know...
    serveralias should be like below (without blop.si)

    ServerAlias *.blop.si

    and at the end

    RedirectMatch 301 (.*) http://blop.si$1

    and i have also change the dns zone to

    ---------------------------------------
    *.blop.si 14400 IN A 213.32.32.12
    ---------------------------------------

About this Topic