The MU forums have moved to WordPress.org

DNS Wildcard and Subdomains not working (9 posts)

  1. honewatson
    Member
    Posted 16 years ago #

    Is this the correct way to add the DNS Wildcard?

    *.mydomain.com. 14400 IN A 35.63.667.54

    Are any other records or changes required?

    Bind has been reloaded.

    What I'm getting is 404 not found errors when the activation key is clicked.

    Many thanks,

    Hone Watson

  2. amanzi
    Member
    Posted 16 years ago #

    You can test if the DNS records are working by trying to resolve foobar.yourdomain.com

    I always find it easiest to just type:
    ping foobar.mydomain.com

    If it resolves correctly then you know your DNS is working.

  3. honewatson
    Member
    Posted 16 years ago #

    ok its working does that mean theres something wrong with my .htaccess file?

  4. amanzi
    Member
    Posted 16 years ago #

    You should also have something like this in your Apache config:
    ServerAlias yourdomain.com *.yourdomain.com

  5. Ovidiu
    Member
    Posted 16 years ago #

    well I have

    ServerAlias zice.ro *.zice.ro

    and

    zice.ro. A 85.214.51.208
    www A 85.214.51.208
    mail A 85.214.51.208
    * A 85.214.51.208

    and still get a DNS error when trying to acces a whatever.zice.ro

    any more help? any more info needed to help me? followsymlinks is inside my vhosts config

  6. drmike
    Member
    Posted 16 years ago #

    * A 85.214.51.208

    That's incorrect.

    Should be

    *.zice.ro 14400 IN A 85.214.51.208

    I would politely suggest that you always read the thread you post in the correct method is stated up above.

    Hope this helps,
    -drmike

  7. scarty
    Member
    Posted 14 years ago #

    what the use of DNS wild card in WPMU?

  8. SteveAtty
    Member
    Posted 14 years ago #

    The DNS wild card is needed when you are running in sub-domain mode.

    Without it blog.my.domain , blog2.my.domain, blog3.my.domain won't work as the names will not resolve. By default most DNS records are set up to handle my.domain and http://www.my.domain

  9. vinug
    Member
    Posted 13 years ago #

    Forget about wildchar dns.
    This is a simple trick to configure this.

    Create a subdomain
    *.yourdomainname and point it to the folder which the yourdomainname points to.

    Issue is solved.
    for eg : If yourdomainname.com points to folder
    public_html then create subdomain *.yourdomainname and point it to public_html

    this trick works with shared web hosting. I just now configured it in computerkid.info

About this Topic

  • Started 16 years ago by honewatson
  • Latest reply from vinug