Mobile app version of vmapp.org
Login or Join
Moriarity557

: Wildcard domain like *.example.com in Plesk? I have a webserver with Plesk which is set up to host my main domain, e.g. 'example.com' (and also www.example.com for that matter). Now I want

@Moriarity557

Posted in: #Dns #MultiSubdomains #Plesk #Subdomain #Webserver

I have a webserver with Plesk which is set up to host my main domain, e.g. 'example.com' (and also example.com for that matter).

Now I want it to also support any subdomain, so whenever somebody visits whatever.example.com or random.example.com it should end up in the same main website.

In other words I want the server to not just serve example.com but also any *.example.com subdomains as the same website.

I have tried adding a wildcard DNS entry for *.example.com which points to example.com (CNAME record) or its IP address (A record) but that didn't seem to be enough.

How or what do I have to configure in order to make this work?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

You will need to perform the actions below:


You will need to add the wildcard asterisk symbol as an A record under HOST to your domain DNS records.
You need to have a web host that supports wildcard redirecting… Plesk and cPanel does support this feature but some hosts disable it… you need to ask.
Wait... sometimes DNS changes can take an hour to 72 hours update, this is called DNS Propagation.


It should also be noted that some domain registrars will use a dot after the record, for example GoDaddy requires a . while NameCheap does not, e.g.:


Host *. vs just *


If your web hosting does not support wildcard hosting then your domain registrar may have a redirecting method without the need for hosting... eg NameCheap does within the DNS management console.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme