This is probably a stupid question but for some reason I cannot create subdomains

anything.mydomain.com doesn't work

but www.mydomain.com and mydomain.com work perfectly..

I've assigned them in my webserver configuration files (lighttpd.conf), but I was wondering if I need to configure them with the domain provider instead.

where is the issue here ? thanks


You will need to create DNS records for the subdomains and point them to your server. If you want all subdomains to point to your server then a wildcard DNS record is probably best.

If however, you want specific subdomains to point to your server then CNAME records are probably the way to go.

You will need to make these changes on your hosts nameservers.


You can configure them on Domain provider or on dns configuration add an CNAME entry for * to go to same ip.

At host name add * , CNAME type and address should be ip of the server.


What does "doesn't work" mean? What kind of error you get from where? If it's your browser telling you it can't find anything.mydomain.com, than you have to edit your domain entries in the DNS accordingly, so your "domain provider" would be the target to solve this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.