From: Jamie C. <jca...@we...> - 2007-06-23 05:10:23
|
<p>Ah .. so was the real problem that Virtualmin is putting the domain's IP address in the <virtualhost> block?<br />If so, you need an entry in httpd.conf like :<br /><br />NameVirtualHost *<br />NameVirtualHost *:80<br /><br />If these exist, Virtualmin will use a * in the <virtualhost> always.<br /><br /> - Jamie<br /></p><p> On 22/Jun/2007 12:38 RYAN M. vAN GINNEKEN wrote .. </p><blockquote type="cite"> <div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;"><div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;">not to sure but it is what i like for the apache config file as i do not have to change it if my ip changes.<br /><br />----- Original Message -----<br />From: Jamie Cameron <jca...@we...><br />To: Webmin users list <web...@li...><br />Sent: Thursday, June 21, 2007 3:40:16 PM GMT-0700<br />Subject: Re: [webmin-l] virtualmin dns *<br /><br /><p>Wow, having a * there is definately wrong - it needs to be proper IP address, specifically the one that the DNS domain should resolve to. How did you manage to enter a * for the IP in the first place? Virtualmin shouldn't allow that :-)<br /><br /> - Jamie <br /></p><p> On 21/Jun/2007 11:48 RYAN M. vAN GINNEKEN wrote .. </p><blockquote> <div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;"><div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;"><strong>under configurable settings this is listed<br />IP address</strong> <tt>*</tt> (Shared by all servers)<br />I remember not sure where setting this somewhere so that if my ipaddress changes ie move to another host apache will not need to be modified.<br /><br />by editing the domain do you mean the change domain name button?<br /><br />or put an ip in this field under dns options?<br /><br /><strong>IP address for use in DNS records</strong> <input type="radio" name="dns_ip_def" value="1" checked="checked" id="dns_ip_def_1" /> <label for="dns_ip_def_1">Same as real address (*)</label> <br /><br />if i put my ip there then things seem to work ok but i would really rather not have to make that change everytime i create a domain.<br /><br /><br /><br /><br />----- Original Message -----<br />From: Jamie Cameron <jca...@we...><br />To: Webmin users list <web...@li...><br />Sent: Thursday, June 21, 2007 11:58:31 AM GMT-0700<br />Subject: Re: [webmin-l] virtualmin dns *<br /><br /><p>Wow, that is bizarre! It seems like Virtualmin thinks that the IP address for your domain is * , which is clearly wrong.<br />If you edit the domain, what appears in the <strong>IP address</strong> field?<br /><br /> - Jamie<strong><br /></strong></p><p> On 21/Jun/2007 11:27 RYAN M. vAN GINNEKEN wrote .. </p><blockquote> <div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;"><div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000;">when i create my dns zonefiles using virtualmin i get this which breaks my dns server i need an ipaddress. think it must have something to do with setting my namevirtualhost to *:80. <br /><br />$ttl 38400<br />@ IN SOA ns1.computerking.ca. king.computerking.ca. (<br /> 2007062100<br /> 10800<br /> 3600<br /> 604800<br /> 38400 )<br />@ IN NS ns1.computerking.ca.<br />happyface.com. IN A *<br />www.happyface.com. IN A *<br />ftp.happyface.com. IN A *<br />m.happyface.com. IN A *<br />;------------------------------------------------------- ---<br />; NAME SERVERS (the name @ is implied)<br />;----------------------------------------------------------<br />;happyface.com. IN NS ns1.computerking.ca.<br />happyface.com. IN NS ns2.computerking.ca.<br />happyface.com. IN NS ns3.computerking.ca.<br />;----------------------------------------------------------<br />; MAIL EXCHANGERS<br />;----------------------------------------------------------<br />happyface.com. IN MX 10 shoemasters.com.<br />happyface.com. IN MX 20 canmail.org.<br />happyface.com. IN MX 30 mail1.computerking.ca.<br />;----------------------------------------------------------<br />; ADDRESSES FOR THE CANOCICAL NAMES ( A records)<br />;---------------------------- ------------------------------<br />;happyface.com. IN A 68.144.1.51<br />;happyface.com. IN A 68.144.188.169<br />stats.happyface.com. IN A 68.144.1.51<br />;www.happyface.com. IN A 68.144.188.169<br />logs.happyface.com. IN A 68.144.1.51<br />;logs.happyface.com. IN A 68.144.188.169<br />;ftp.happyface.com. IN A 68.146.204.152<br />;ftp.happyface.com. IN A 68.144.188.169<br />;mail.happyface.com. CNAME canmail.org.<br />;mail.happyface.com. IN A 68.144.188.169<br />;extra.happyface.com. & ;amp ;nbs p; IN A 68.146.204.152<br />;extra.happyface.com. IN A 68.144.188.169<br />#=====================================<br /> <br /><br />also i get this error from apache all the time i delete the line from my httpd.conf but webmin likes to put it back<br /><br />apachectl stop<br />[Thu Jun 21 11:48:02 2007] [warn] NameVirtualHost *:80 has no VirtualHosts<br /><br />also virtualmin seems to think that apache is stopped with a big red X and this when i create a domain<br /><br /> Applying web server configuration ..<br /> .. not running!<br /><br />but when i try to start apache is states that it is already running like this.<br /><br /><h3>Failed to start service : <pre>[Thu Jun 21 11:50:07 2007] [warn] NameVirtualHost *:80 has no VirtualHosts<br />httpd (pid 76358) already running<br /></pre></h3><br />-- <br />Computer King & CaN Mail - Sales Service Hosting Backup<br /><br />http://www.computerking.ca http://www.canmail.org<br /><br />NEW!!! Custom Service Packages<br />Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages <br /><br /></div> </div></blockquote><br /> <br /><br />-- <br />Computer King & CaN Mail - Sales Service Hosting Backup<br /><br />http://www.computerking.ca http://www.canmail.org<br /><br />NEW!!! Custom Service Packages<br />Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages <br /><br /></div> </div></blockquote><br /> <br /><br />-- <br />Computer King & CaN Mail - Sales Service Hosting Backup<br /><br />http://www.computerking.ca http://www.canmail.org<br /><br />NEW!!! Custom Service Packages<br />Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages <br /><br /></div> </div></blockquote><br /> |