• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Wildcard DNS

S

sunwest

Guest
I need to setup a wildcard DNS on my Linux server. I have tried numerous <VirtualHost> configurations, but none will work. I have assigned a *. A record to the domain using my Plesk CP, but I still can't get it to work.
 
Thanks for the response. I am familiar with searching. I already searched both 'dns wildcard' and 'wildcard dns', and I get this page only -

http://swsoft.aspseek.com/cgi-bin/s...http://www.swsoft.com/&q=dns+wildcard&x=0&y=0

And I have already attempted to create a <VirtualHost> file in my httpd.config file, such as this -
<VirtualHost *:80>
ServerName www.domain.net
ServerAlias domain.net
ServerAlias *.domain.net
DocumentRoot /var/www/vhosts/fdomain.net/httpdocs/
</VirtualHost>
However, this and several other similar efforts have not produced the desired results. When attempting to access the site created by the wildcard, i.e., www.test.domain.net, I continue to get the Plesk default page that tells me that no such domain has been registered.
 
I get a "command not found" error when attempting the websrvmng command. I restarted using the "service httpd restart" command.
 
I obviously did not know what the websrvmng command was to be used for. I researched it and I need to know which application I should use here. To install hosting or to reconfigure hosting? Or possibly to reconfigure a subdomain?
 
Back
Top