dns wild card for sub domain

Discussion in 'Installation/Configuration' started by carpman, Jun 3, 2013.

  1. carpman

    carpman Member

    Hi been trying to get wild card sub domain working for one domain.

    Have set dns records thus

    A 	*.domain.com 	0 	86400 	
    	A 	domain.com. 	0 	3600 	
    	A 	mail 	0 	3600 	
    	MX 	domain.com. 	mail.domain.com. 	10 	3600 	
    	NS 	domain.com. 	ns1.domain.net. 	0 	3600
    have create entry in


    <VirtualHost *:80>
          DocumentRoot /var/www/domain.com/web
        ServerName domain.com
        ServerAlias *.domain.com
        ServerAdmin [email protected]
    This should work, but does not?

    Am i missing something?

  2. monkfish

    monkfish New Member


    A 	*.domain.com 	0 	86400 	
    I think you might have missed a "." after domain.com so dns won't respond correctly?
  3. carpman

    carpman Member

    Ok that seems to work for www.domain.com but not for wordpress multiuser using sub domains, may be something else as seem dns is ok now.
  4. falko

    falko Super Moderator ISPConfig Developer


    dig sub.domain.com 
    return an IP address?

Share This Page