View Full Version : Wildcard DNS
sunwest
2nd August 2007, 11:39 AM
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.
phoenixisp
2nd August 2007, 12:42 PM
That is what the search function of the boards is for. A search for 'dns wildcard' shows many threads. This may help you:
http://forum.swsoft.com/showthread.php?s=&threadid=45532&highlight=dns+wildcard
sunwest
2nd August 2007, 01:12 PM
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/swsoft.cgi?m=all&cs=utf-8&sp1=on&ul=http%3A%2F%2Fwww.swsoft.com%2F&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.
phoenixisp
2nd August 2007, 01:17 PM
Once you created the <VirtualHost> file did you run the websrvmng utility or restart apache?
sunwest
2nd August 2007, 01:41 PM
I get a "command not found" error when attempting the websrvmng command. I restarted using the "service httpd restart" command.
sunwest
2nd August 2007, 01:46 PM
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?
vBulletin® v3.6.12, Copyright ©2000-2008, Jelsoft Enterprises Ltd.